maz-1 / grub2-editor

A KDE Control Module for configuring the GRUB2 bootloader. Unofficial KF5 port.
GNU General Public License v3.0
28 stars 5 forks source link

Add options to grub "Restart" , "shutdown" and "efi config" #16

Open wuniversales opened 5 years ago

wuniversales commented 5 years ago

I think it would be good to add some options to enable or disable these options. Good job, thanks, regards

if [ ${grub_platform} == "efi" ]; then menuentry "Menú efi" --class efi { fwsetup } fi menuentry "Reiniciar Sistema" --class restart reboot { reboot } menuentry "Apagar Sistema" --class poweroff shutdown { halt }