Introducing a poweroff(8) command

Brian Somers brian at Awfulhak.org
Sun Aug 22 15:46:06 PDT 2004


On Sun, 22 Aug 2004 17:41:29 +0300, Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> On 2004-08-21 23:50, Brian Somers <brian at Awfulhak.org> wrote:
> >
> > IMHO poweroff should behave like ``shutdown -p now'' rather than
> > ``halt -p''.
> 
> This is relatively easy too.  See below :-)

I was going to suggest that one of the other things that might be considered
is whether a time argument should be required, or whether it should default
to ``now''.

I think however that the idea behind shutdown still stands - operators and
admins should be encouraged to give their users fair warning before shutting
the machine down....

This patch looks good to me (although I haven't actually tried it).

-- 
Brian <brian at Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !


More information about the freebsd-arch mailing list