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
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
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
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
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.
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
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