mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Updated install script with new sudoers lines required. Updated uninstall script to resolve lighttpd directory contents not being removed
Updated dashboard.php file to remove IP addresses when taking wlan0 down.
This commit is contained in:
@@ -68,6 +68,7 @@ function DisplayDashboard(){
|
||||
exec( 'ifconfig wlan0 | grep -i running | wc -l',$test );
|
||||
if($test[0] == 0) {
|
||||
exec( 'sudo ip link set wlan0 up',$return );
|
||||
exec( 'sudo ip -s a f label wlan0',$return);
|
||||
} else {
|
||||
echo 'Interface already up';
|
||||
}
|
||||
|
Reference in New Issue
Block a user