Re: shutdown/reboot suggestion

2008-08-11 Thread Jonathan McKeown
On Sunday 10 August 2008 07:11, Michael Grant wrote: I have such a script, I put it in /bin/require_hostname and symlinked shutdown, halt, reboot, fastboot, and fasthalt to this script: #!/bin/sh if [ $1 = `hostname` ]; then shift exec /sbin/`basename $0` $@ else

Re: shutdown/reboot suggestion

2008-08-11 Thread Bill Moran
Michael Grant [EMAIL PROTECTED] wrote: I have such a script, I put it in /bin/require_hostname and symlinked shutdown, halt, reboot, fastboot, and fasthalt to this script: #!/bin/sh if [ $1 = `hostname` ]; then shift exec /sbin/`basename $0` $@ else echo For

shutdown/reboot suggestion

2008-08-09 Thread Michael Grant
More than once, through carelessness, and I'm sure I'm not alone, I have inadvertently shutdown or rebooted the wrong machine. I'm sure some of you know that all too familiar feeling when you see Connection closed instead of your desktop being rebooted. I have a suggestion with respect to these

Re: shutdown/reboot suggestion

2008-08-09 Thread Al Plant
Michael Grant wrote: More than once, through carelessness, and I'm sure I'm not alone, I have inadvertently shutdown or rebooted the wrong machine. I'm sure some of you know that all too familiar feeling when you see Connection closed instead of your desktop being rebooted. I have a suggestion

Re: shutdown/reboot suggestion

2008-08-09 Thread Sahil Tandon
Michael Grant [EMAIL PROTECTED] wrote: More than once, through carelessness, and I'm sure I'm not alone, I have inadvertently shutdown or rebooted the wrong machine. I'm sure some of you know that all too familiar feeling when you see Connection closed instead of your desktop being rebooted.

Re: shutdown/reboot suggestion

2008-08-09 Thread Jeffrey Goldberg
On Aug 9, 2008, at 3:22 PM, Michael Grant wrote: More than once, through carelessness, and I'm sure I'm not alone, I have inadvertently shutdown or rebooted the wrong machine. I'm sure some of you know that all too familiar feeling when you see Connection closed instead of your desktop being

Re: shutdown/reboot suggestion

2008-08-09 Thread Michael Grant
I have such a script, I put it in /bin/require_hostname and symlinked shutdown, halt, reboot, fastboot, and fasthalt to this script: #!/bin/sh if [ $1 = `hostname` ]; then shift exec /sbin/`basename $0` $@ else echo For your protection, use: $0 hostname ... fi I realize