aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-05-16 09:52:51 +0200
committerGravatar Christian Hesse <mail@eworm.de>2019-05-16 09:52:51 +0200
commit70f137553389a60dcf95826f70b846a5baad72ce (patch)
tree9d74d8de9a995078e8b84e3c1cbf01aed8cd0aec
parentc5447692bead21d2d9d2515d84005f5caad9251b (diff)
downloadgrub-reboot-poweroff-70f137553389a60dcf95826f70b846a5baad72ce.tar.gz
grub-reboot-poweroff-70f137553389a60dcf95826f70b846a5baad72ce.tar.zst
add id for boot entries
-rwxr-xr-x90_reboot2
-rwxr-xr-x91_poweroff2
2 files changed, 2 insertions, 2 deletions
diff --git a/90_reboot b/90_reboot
index 21909ee..380b684 100755
--- a/90_reboot
+++ b/90_reboot
@@ -3,7 +3,7 @@
echo "Adding reboot option." >&2
cat << EOF
-menuentry 'Reboot' --class tool {
+menuentry 'Reboot' --class tool --id reboot {
reboot
}
EOF
diff --git a/91_poweroff b/91_poweroff
index 04fb591..3d6ef05 100755
--- a/91_poweroff
+++ b/91_poweroff
@@ -3,7 +3,7 @@
echo "Adding poweroff option." >&2
cat << EOF
-menuentry 'Poweroff' --class tool {
+menuentry 'Poweroff' --class tool --id poweroff {
halt
}
EOF