From: Stefan Schantl Date: Tue, 10 Mar 2009 11:45:30 +0000 (+0100) Subject: Fixed bug in hostapd webinterface site. X-Git-Tag: v2.5-beta1~128 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=034c2b7e288590c35d1ec2f6f5baa324420340a6;p=ipfire-2.x.git Fixed bug in hostapd webinterface site. Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi old mode 100644 new mode 100755 index 3a57e160f1..fb21c4cb51 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -118,6 +118,8 @@ if ( $cgiparams{'ACTION'} eq "$Lang::tr{'save'}" ){ system("/usr/local/bin/wlanapctrl start >/dev/null 2>&1"); }elsif ( $cgiparams{'ACTION'} eq 'Stop' ){ system("/usr/local/bin/wlanapctrl stop >/dev/null 2>&1"); +}elsif ( $cgiparams{'ACTION'} eq 'Restart' ){ + system("/usr/local/bin/wlanapctrl restart >/dev/null 2>&1"); } &Header::openpage('WLAN', 1, '', ''); @@ -247,6 +249,7 @@ print <WLAN Services END ; +print "
"; if ( $wlan_card_status ne '' ){ print "WLAN card ($wlanapsettings{'DRIVER'})"; print $wlan_card_status eq 'up' ? $status_started : $status_stopped; @@ -261,6 +264,7 @@ if ( $wlan_card_status ne '' ){ }else{ print "$message"; } +print "
"; print ""; if ( $wlan_card_status eq '' ){