From 26d946e2253a5780e8f005150415294c4a7254ae Mon Sep 17 00:00:00 2001 From: noneofyourbusiness Date: Fri, 9 Jul 2021 09:31:19 +0200 Subject: [PATCH] allow shutting the phone off without password Signed-off-by: Maarten van Gompel --- configs/sudo/poweroff | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/sudo/poweroff b/configs/sudo/poweroff index 19c8d75..f49078c 100644 --- a/configs/sudo/poweroff +++ b/configs/sudo/poweroff @@ -1 +1,4 @@ ALL ALL=NOPASSWD: /bin/busybox poweroff +ALL ALL=NOPASSWD: /bin/busybox reboot +ALL ALL=NOPASSWD: /sbin/poweroff +ALL ALL=NOPASSWD: /sbin/reboot