Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 22:16:59 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        freebsd-arch@freebsd.org
Subject:   Introducing a poweroff(8) command
Message-ID:  <20040821191659.GA94336@gothmog.gr>

next in thread | raw e-mail | index | archive | help
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?

The attached patch also fixes a bug described in PR bin/70536 (which I
have submitted after looking around at the source code of reboot.c) but
I can make these two separate diffs if we think it's worth it.

=== References ===
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=misc/70476
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=bin/70536



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