Originally posted by Doug Slattery:
Your shutdown message is being executed from /dev/pts/0. I could be mistaken, but isn't that a pseudo tty (i.e. you're not logged into the console)? I thought the console tty's were /dev/tty/0 - 10 or /dev/pty/0 - 10. Shutdown messages won't (or very few) show up on a different tty where the server was booted from (where init's stdin/out/err go).
pts0 might be a terminal on X, like xterm - at least it is for me.
@mary:
You could try
code:
/sbin/reboot
instead, but I don't really believe this will work.
Originally posted by Doug Slattery:
pts0 might be a terminal on X, like xterm - at least it is for me.
That may be, but it's still not the boot tty, even if it is on the xconsole...
I'm sorry I don't understand "boot tty" and the relevance.
I may shutdown linux from a xterm shell, and did shutdown systems with ssh-terminal.
She'll be back. I'm just gonna wait here. With this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
|