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
Ehm, is this possible? thanks...
Petr Fischer píše v Po 28. 11. 2005 v 18:18 +0100:
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
On 11/28/05, Petr Fischer petr.fischer@praguesoft.cz 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?
Are you looking for the behavior of the command "shutdown -h" ? From the man page:
-h Halt after shutdown.
This is as opposed to:
-r Reboot after shutdown.
-- Chris
"`The enemy we fight has no respect for human life or human rights. They don't deserve our sympathy,' he said. `But this isn't about who they are. This is about who we are. These are the values that distinguish us from our enemies.' - Sen. John McCain, R-Arizona
From: "Christofer C. Bell" christofer.c.bell@gmail.com On 11/28/05, Petr Fischer petr.fischer@praguesoft.cz 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?
Are you looking for the behavior of the command "shutdown -h" ? From the man page: -h Halt after shutdown. This is as opposed to: -r Reboot after shutdown.
If he is doing shutdown -h "now" it will powerdown the computer. All my computers does doing that with acpi. Maybe Petr should turn off acpi in the bios? or start the box with a kernel option?
Danny
Thanks, I will try disable acpi with acpi=off on my server (I dislike this option on normal computers [notebooks, workstations]). Is there any other way?
p.
Danny Terweij - Net Tuning | Net píše v Út 29. 11. 2005 v 21:40 +0100:
From: "Christofer C. Bell" christofer.c.bell@gmail.com On 11/28/05, Petr Fischer petr.fischer@praguesoft.cz 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?
Are you looking for the behavior of the command "shutdown -h" ? From the man page: -h Halt after shutdown. This is as opposed to: -r Reboot after shutdown.
If he is doing shutdown -h "now" it will powerdown the computer. All my computers does doing that with acpi. Maybe Petr should turn off acpi in the bios? or start the box with a kernel option?
Danny
Petr Fischer wrote:
Thanks, I will try disable acpi with acpi=off on my server (I dislike this option on normal computers [notebooks, workstations]).
Please note that this may enable APM, which can *still* turn your computer off. You may need to add apm=off to the kernel parameters.
(Contra-indications: APM does not work with hyperthreaded or multiple-core processors, or on SMP machines. I understand that some modern PCs no longer have APM support in BIOS, since all supported versions of Windows prefer the ACPI support.
Hope this helps,
James.
shutdown -h -> this command call "acpi power off" on my server
p.
Christofer C. Bell píše v Út 29. 11. 2005 v 14:31 -0600:
On 11/28/05, Petr Fischer petr.fischer@praguesoft.cz 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?
Are you looking for the behavior of the command "shutdown -h" ? From the man page:
-h Halt after shutdown.
This is as opposed to:
-r Reboot after shutdown.
-- Chris
"`The enemy we fight has no respect for human life or human rights. They don't deserve our sympathy,' he said. `But this isn't about who they are. This is about who we are. These are the values that distinguish us from our enemies.' - Sen. John McCain, R-Arizona
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...