How to disable "acpi poweroff" in shutdown script?

Trevor "TeC" Christian trevor at bouyon.dalive.com
Sat Dec 3 14:09:23 UTC 2005


Petr Fischer wrote:

>Hi, please, how to easily and systemically disable acpi poweroff
>switching when calling "shutdown" in Fedora Core? (I need only "halt
>state" after shutdown - for UPS workflow). Understand?
>
>Thanks! pf
>
>  
>
open the /etc/init.d/halt file and make an adjustment

This line is somewhere around the end of the file.
    [ -f /poweroff -o ! -f /halt ] && HALTARGS="$HALTARGS -p"

If you remove the -p from the arguments at the end of the line, i think 
it will accomplish what you want.  In the end it should look like this
    [ -f /poweroff -o ! -f /halt ] && HALTARGS="$HALTARGS"

This should help without BIOS modifications...

-- 
*Trevor "TeC" Christian*
/TeC Productions Studios/
Cell #: (767) 225 4472
IM
   MSN: trevorc98 at hotmail.com / trevor at bouyon.dalive.com
   YM : trevorc01 at yahoo.com
   AIM: DoubleOTeC
   GoogleTalk: doubleOTeC at gmail.com
------------------------------------------------------------------------
Home Page <http://trevor.bouyon.dalive.com/>
Curriculum Vitae <http://bouyon.dalive.com/cv/>
Dalive Market <http://www.dalivemarket.com/>




More information about the fedora-list mailing list