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

@@ -81,7 +81,7 @@ function remove_raspap_directories() {
install_error "RaspAP Installation directory not found. Exiting!"
fi
sudo rm -rf "$webroot_dir/*"
sudo rm -rf "$webroot_dir"/*
sudo rm -rf "$raspap_dir"
}