halt -> poweroff

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2017-09-08 20:30:59 +02:00
parent f2b77c0bf4
commit 5ab4430ef0
3 changed files with 10 additions and 10 deletions

View File

@@ -420,9 +420,9 @@ function readAdlists()
$success .= "The webUI settings have been updated";
break;
case "halt":
exec("sudo pihole -a halt");
$success = "The system will halt in 5 seconds...";
case "poweroff":
exec("sudo pihole -a poweroff");
$success = "The system will poweroff in 5 seconds...";
break;
case "reboot":