Hello,
I want to add a "shutdown -Ph time" right while/after booting. So I added a line in rc.local like "sudo shutdown -Ph 60". Unfortunately that doesn't work, in other words: the Raspi stops right at that line and doesn't do anything at all, just cursor-blinking.
So I tried to point at "/usr/local/shutdown_script.sh" which contains the shutdown command: same problem: booting hangs.
Any ideas? Thank you very much.