diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-02-29 14:26:50 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-02-29 14:26:50 +0100 |
commit | c16799693cb6d780f258833689a6d312506093bb (patch) | |
tree | f11e3ba72e632269160275f1c3c36d170fb81a62 /bin/menuscripts | |
parent | da998b5c857aef8903bf791b4e41966cf230562c (diff) | |
parent | 8ab76a9ebf8414c720f13bd0aaaa2e6452ff753b (diff) |
Merge branch 'main' of debuc.com:dotfiles
Diffstat (limited to 'bin/menuscripts')
-rwxr-xr-x | bin/menuscripts/mpower | 4 |
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" |