PDA

View Full Version : [ubuntu] [SOLVED] Shutdown, Restart, Hibernationů



Gwasanaethau
July 8th, 2008, 12:58 AM
Hi everyone! Quick question:

When you use the 'quit' button in the top-right hand corner, what commands/scripts are run when the shut down/restart/hibernate buttons are pressed?

Cheers!

phidia
July 8th, 2008, 01:35 AM
GUI to terminal: shutdown=sudo halt or sudo shutdown -h now restart=sudo reboot hibernate=sudo /etc/acpi/hibernate.sh
To see what runs (scripts,ect) enter those commands in terminal and watch.

Gwasanaethau
July 8th, 2008, 01:53 AM
That's brilliant, thanks a mill! ;)8)