"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
>
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
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 reali
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
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 re
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 suggestio