Larry,

I believe that line should probably be corrected to read:

#if [ -f /sbin/poweroff -o ! -f /sbin/halt ]; then

to make it work as intended. (Haven't tried it myself, though. I'm still
on RH6.2+)

Regards
Gustav

Larry Grover wrote:
> 
> I made these changes to the last lines in /etc/rc.d/init.d/halt:
> 
> #I commented out the if clause, and added -p to HALTARGS
> #to make the system power-off automatically
> HALTARGS="-i -d -p"
> #if [ -f /poweroff -o ! -f /halt ]; then
> # HALTARGS="$HALTARGS -p"
> #fi
> 
> eval $command $HALTARGS
> 
> --
> Larry Grover, PhD
> Assoc Prof of Physiology
> Marshall Univ Sch 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

Reply via email to