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:
Lawrence
2017-10-04 01:28:57 +08:00
parent 0be196d708
commit 1fc0615452
3 changed files with 3 additions and 1 deletions

View File

@@ -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';
}