Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Aug 2008 22:22:01 +0200
From:      "Michael Grant" <mgrant@grant.org>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   shutdown/reboot suggestion
Message-ID:  <62b856460808091322m38558ec2o1359fff91ae68a79@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 commands.  What if they
could be modified to require the hostname of the machine as their
first argument, otherwise, they refuse to bring the machine down?

  shutdown -h now

becomes:

  shutdown example.com -h now

and

  reboot

becomes

  reboot example.com

How hard would it to get the other *nix distributions to take up this up too?

Michael Grant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62b856460808091322m38558ec2o1359fff91ae68a79>