summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/menuscripts/mpower4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/menuscripts/mpower b/bin/menuscripts/mpower
index f8f7654..8c1a886 100755
--- a/bin/menuscripts/mpower
+++ b/bin/menuscripts/mpower
@@ -1,11 +1,13 @@
#!/bin/sh
choice="$(
-cat <<EOF | commander -c -w 1 -y 4
+cat <<EOF | commander -c -w 1 -y 5
poweroff
suspend
hibernate
reboot
+firmware
EOF
)"
+[ "$choice" = "firmware" ] && systemctl reboot --firmware-setup
[ "$choice" ] && systemctl "$choice"