diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-04-04 02:53:14 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-04-04 02:53:14 +0200 | 
| commit | 608ac51729653a6253e746588d71557e39f8c02c (patch) | |
| tree | 044acbb032e35cf4d5f35b1425a1580735e2df2f /bin/menuscripts | |
| parent | 59b274d880e98a6fd48d2686b8f872176a9e1f98 (diff) | |
checkpoint
Diffstat (limited to 'bin/menuscripts')
| -rwxr-xr-x | bin/menuscripts/mpower | 5 | 
1 files changed, 2 insertions, 3 deletions
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 ;;  | 
