Larry,
Maybe so. But shouldn't the line
#if [ -f /poweroff -o ! -f /halt ]; then
actually read
#if [ -f /sbin/poweroff -o ! -f /sbin/halt ]; then
anyway?
Regards
Gustav
Larry Grover wrote:
>
> In RH6.2, typing "halt" at the command line would bring the system down and then do
>a power-off. In RH7.0, "halt" simply brings the system down without a power-off.
>Under 7.0 you can do a halt+power-off by typing "poweroff" at the command line. On
>my 7..0 machine, "halt -p" has the same result as "poweroff".
>
> This change in behavior was apparently intentional (from
>http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=18885):
>
> "------- Additional comments from [EMAIL PROTECTED] 2000-10-14 06:23 -------
>
> The behaviour has changed intentionally. The 'poweroff' command does a shutdown
> and power off,
> the halt command now just halts the machine. This matches the behaviour of other
> platforms."
>
> So this is a feature, not a bug.
>
> If you like the old behavior better, you can always change the `halt` script in
>/etc/rc/d/init.d. Of course, the next time you update your initscript package, your
>changes will get overwritten, so save a backup copy under a different name.
>
> Since typing "halt -p" isn't much more effort than typing "halt", I changed the
>`halt` script back to match the script as originally installed by 7.0.
>
> I have no idea how this change in behavior would affect someone who boots into
>graphic mode (run level 5).
>
> __
> Larry Grover, PhD
> Assoc Prof of Physiology
> Marshall Univ Sch of Med
--
pgp = Pretty Good Privacy.
To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]
Visit my web site at http://www.schaffter.com
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list