garuda-common-settings/etc/grub.d/61_custom_leave_options

22 lines
487 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