From 608ac51729653a6253e746588d71557e39f8c02c Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 4 Apr 2025 02:53:14 +0200 Subject: checkpoint --- bin/menuscripts/mpower | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/menuscripts/mpower b/bin/menuscripts/mpower index 93b6c7b..b179690 100755 --- a/bin/menuscripts/mpower +++ b/bin/menuscripts/mpower @@ -13,16 +13,15 @@ EOF if [ "$(hostname)" = "winter" ]; then if [ "$choice" = "firmware" ]; then systemctl reboot --firmware-setup - elif [ "$choice" = "eepy" ]; then + elif [ "$choice" = "suspend" ]; then systemctl hybrid-sleep else systemctl "$choice" fi elif [ "$(hostname)" = "spring" ]; then case "$choice" in - "suspend") doas /usr/sbin/zzz -z ;; + "suspend") doas /usr/sbin/zzz -H ;; "hibernate") doas /usr/sbin/zzz -Z ;; - "eepy") doas /usr/sbin/zzz -H ;; "poweroff") doas /usr/sbin/poweroff ;; "reboot") doas /usr/sbin/reboot ;; "firmware") rebootfw ;; -- cgit v1.2.3