diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index a49d5283..03b7a8cd 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -31,7 +31,7 @@ Options: -k, kelvin Set Kelvin as preferred temperature unit -h, --help Show this help dialog -i, interface Specify dnsmasq's interface listening behavior - Add '-h' for more info on interface usage" + Add '-h' for more info on interface usage" exit 0 } @@ -213,6 +213,10 @@ SetExcludeClients() { change_setting "API_EXCLUDE_CLIENTS" "${args[2]}" } +Halt(){ + nohup bash -c "sleep 5; halt" &> /dev/null /dev/null