summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-05-27 19:28:40 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-05-27 19:28:40 +0200
commited7138139dcac6a6b0f0208153b8291cd6ef7edf (patch)
tree07daf2dfda1ba80542e3f25b2dfe9ed1a0074bfa
parent18fda37710d52a9eda6709e20f3aaa6991f15099 (diff)
downloadgrub-reboot-poweroff-ed7138139dcac6a6b0f0208153b8291cd6ef7edf.tar.gz
grub-reboot-poweroff-ed7138139dcac6a6b0f0208153b8291cd6ef7edf.tar.zst
Initial import0.1.0
-rwxr-xr-x90_reboot7
-rwxr-xr-x91_poweroff7
2 files changed, 14 insertions, 0 deletions
diff --git a/90_reboot b/90_reboot
new file mode 100755
index 0000000..04c0b90
--- /dev/null
+++ b/90_reboot
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+cat << EOF
+menuentry 'Reboot' --class tool {
+ reboot
+}
+EOF
diff --git a/91_poweroff b/91_poweroff
new file mode 100755
index 0000000..4911932
--- /dev/null
+++ b/91_poweroff
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+cat << EOF
+menuentry 'Poweroff' --class tool {
+ halt
+}
+EOF