fedora GRUB2 Configuration to enter new menu items.
Wanting mmodificare the menu of the bootloader of Fedora 20 XFCE to make possible the restart and shutdown PC at startup instead of a distro on the PC itself, I modified the file / etc/grub.d/40_custom inserting rows
menuentry "Reboot the PC" { reboot }
menuentry "Halt" { halt }
so, after giving the command
grub2-mkconfig-o / boot/grub2/grub.cfg
restart the PC the boot loader menu has two new items: "Reboot the PC" and "Halt" selecting "Restart PC" actually the PC restarts, but selecting "Halt" the PC will not turn off ... appears on the screen the writing ACPI shutdown failed and the computer freezes so, without shutting down ... How do I put in the boot loader menu of Fedora 20? IS there a chance to turn off the computer or does any alternative options exist?
The title of this question is misleading; you know how to add the menu item, it just doesn't work as expected. I suggest you edit to make the issue more clear.