Changeset 599

Show
Ignore:
Timestamp:
08/11/11 17:16:57 (10 months ago)
Author:
JulioCP
Message:

Web Interface: reboot uhttpd correctly.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/nightwing/www/cgi-bin/nw_config/basicSettings.cgi

    r598 r599  
    8989fi 
    9090 
    91 if [ ! -z $HTTP_REINICIAR ] 
    92 then 
    93         echo "HTTP rebooting: " 
    94         /etc/init.d/uhttp stop;sleep 1;/etc/init.d/uhttp start 
    95         if [ $? -eq 0 ] 
    96         then 
    97                 echo "OK<br>" 
    98         else  
    99                 echo "KO<br>" 
    100         fi 
    101 fi 
    102  
    10391if [ ! -z "$WEB_WIFIDOG_ACCESS" ] 
    10492then 
     
    147135FOOTER 
    148136 
     137 
     138if [ ! -z $HTTP_REINICIAR ] 
     139then 
     140        echo "HTTP rebooting: " 
     141         
     142        /etc/init.d/uhttpd restart & 
     143         
     144        if [ $? -eq 0 ] 
     145        then 
     146                echo "OK<br>" 
     147        else  
     148                echo "KO<br>" 
     149        fi 
     150fi