Introducing a poweroff(8) command

Cyrille Lefevre clefevre-lists at 9online.fr
Sun Aug 22 14:52:35 PDT 2004


"Brian Somers" <brian at Awfulhak.org> wrote:
> On Sat, 21 Aug 2004 23:22:52 +0300, Giorgos Keramidas
<keramida at ceid.upatras.gr> wrote:
> > On 2004-08-21 22:16, Giorgos Keramidas <keramida at freebsd.org> wrote:
> > > Hi guys,
> > >
> > > In response to PR misc/70476 about `halt -p' I wrote a simple patch to
> > > introduce a "poweroff" command that will default to "halt -p" behavior
> > > and inhibit the need for changing the default behavior of halt(8).
> > >
> > > o Does this look ok to you all?
> > >
> > > o Should I suggest using it as a workaround of the behavior
> > > described in the PR?
> >
> > It would be nice if I also included the patch :-?
>
> IMHO poweroff should behave like ``shutdown -p now'' rather than ``halt -p''.


no, poweroff usually behaves as "halt -p", not "shutdown -p".
see Solaris and NetBSD for details.

Cyrille Lefevre.
-- 
home: mailto:cyrille.lefevre at laposte.net



More information about the freebsd-arch mailing list