From 44bfb8ebf095caa2f68d68e89e73fb194c4034c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Fri, 24 Feb 2023 21:11:19 +0100 Subject: [PATCH] Remove the ability to reboot/shutdown via webpage.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- advanced/Scripts/webpage.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index 8fd0253b..4c321ec2 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -401,14 +401,6 @@ SetExcludeClients() { addOrEditKeyValPair "${setupVars}" "API_EXCLUDE_CLIENTS" "${args[2]}" } -Poweroff(){ - nohup bash -c "sleep 5; poweroff" &> /dev/null /dev/null