You are not logged in.

#1 2014-05-17 04:25:49

fantab
Member
From: 3rd Rock from the Sun
Registered: 2011-06-07
Posts: 152

Grub2: Shutdown 'menuentry' doesn't work

BIOS
grub 1:2.02.beta2-3
3.14.4-1-ARCH
Gnome

I have added 'Shutdown' and 'Restart' options to my Grub menu by adding them to '40_custom'.

I use 'os-prober' so the above are the only two entries in 40_custom:

#!/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 now" {
	echo "System shutting down..."
	halt
}

menuentry "Restart now" {
	echo "System rebooting..."
	reboot
}

The 'Restart' is working but 'Shutdown' is NOT.
I just get the echo message "System shutting down...", and it hangs threre.

I have double checked the Wiki and since 'Restart' is working I don't really see what I could be doing wrong or not doing at all.

Any ideas?

Regards...

Last edited by fantab (2014-05-17 04:26:32)


"Evolution is the nature's way of issuing upgrades".
__________________________________________________________
Arch_x64-Gnome-Shell ~ Arch-lts_x64-Xfce ~ LMDE_x64-Cinnamon

Offline

Board footer

Powered by FluxBB