Re: How to disable "acpi poweroff" in shutdown script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx / trevor@xxxxxxxxxxxxxxxxx
  YM : trevorc01@xxxxxxxxx
  AIM: DoubleOTeC
  GoogleTalk: doubleOTeC@xxxxxxxxx
------------------------------------------------------------------------
Home Page <http://trevor.bouyon.dalive.com/>
Curriculum Vitae <http://bouyon.dalive.com/cv/>
Dalive Market <http://www.dalivemarket.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux