I can't shutdown
using Raspberry Pi wheezey...
I think this says it all. What am I doing wrong?
~ $ uname -a
Linux kevcoder01 3.1.9+ #272 PREEMPT Tue Aug 7 22:51:44 BST 2012 armv6l GNU/Linux
~ $ sudo shutdown -Ph -t now
Usage: shutdown [-akrhPHfFnc] [-t sec] time [warning message]
-a: use /etc/shutdown.allow
-k: don't really shutdown, only warn.
-r: reboot after shutdown.
-h: halt after shutdown.
-P: halt action is to turn off power.
-H: halt action is to just halt.
-f: do a 'fast' reboot (skip fsck).
-F: Force fsck on reboot.
-n: do not go through "init" but go down real fast.
-c: cancel a running shutdown.
-t secs: delay between warning and kill signal.
** the "time" argument is mandatory! (try "now") **
Either give time in seconds [ -t 10 ] or use "now" without -t option.
sudo shutdown -Ph now
sudo shutdown -ph -t 10
The Raspberry Pi doesn't shut down...
It has a power cord, but no switch/button.
According to the RaspBerry website, turning off the computer comprises of unplugging it.
For other Linux machines, it could be:
...using sudo if needed.
I would have thought you should still halt it with the above command, just to ensure that all caches are properly flushed before pulling the plug
Originally Posted by jayd512
Yeah.. very true. I was half asleep when I posted above, so I guess that slipped mind.:mrgreen:
Originally Posted by elija