21 lines
482 B
Bash
Executable file
21 lines
482 B
Bash
Executable file
#!/bin/sh
|
|
exec tail -n +3 $0
|
|
# This file provides an easy way to add custom menu entries. Simply type the
|
|
# menu entries you want to add after this comment. Be careful not to change
|
|
# the 'exec tail' line above.
|
|
|
|
menuentry "Shutdown" --class shutdown {
|
|
echo "System shutting down..."
|
|
halt
|
|
}
|
|
|
|
menuentry "Restart" --class restart {
|
|
echo "System rebooting..."
|
|
reboot
|
|
}
|
|
|
|
if [ ${grub_platform} == "efi" ]; then
|
|
menuentry "Firmware Setup (UEFI)" --class recovery {
|
|
fwsetup
|
|
}
|
|
fi
|