the shutdown command is a very versatile one.
the -t is a timer
-h means to HALT as in powerdown... It can shut down all the processes and then do nothing actiually, the halt means to also turn off
-r means to reboot
-n means now or really quickly shutdown ASAP!
--
Ok, back to the question...
I have done it as user and root
sudo shutdown -h now
they do the same thing.
Ok, this is what happens....
I open a Terminal while on the desktop right, and I type in
shutdown -h now
the desktop goes away instantly, and I get dropped to the CLI where is displays the startup messages, these messages I wont put here but I can do if needed, but the last line is:-
Starting periodic command scheduler: crond.
Checking Battery state...
/dev/hda
Setting Advanced Power Management level to 0xfe (254)
.
There are then 2 balnk lines and then
Debian GNU/Linux 5.0 debian tty1
debian login: acpid: exiting
And thats it... Its hung there and thats all it has ever done.
It does this if I manually type shutdown, or select shutdown from the desktop, or if I press the power button and select shutdown from the dialog box that comes up!!!
It also wont hibernate or suspend either if thats any help
However, it will reboot with the shutdown command...
shutdown -r now
It gets to this line
debian login: acpid: exiting
It also displays somehting with some numbers starting with 106.somethign but its too quick to let me see
So, any clues?
I notice, but have always ignored as of late, that Distros often offer you the NOACPI arguement during install... Debian never offered me this so should I have done this during the install?
Why? No other distro needed it since my old P1 days when I first got hold of Mandrake 5
--
When it starts up, it never moans that the Laptop has not shutdown properly, it starts up just fine... Its just bloody irritating.