SuSE Support Database

Title: Poweroff on shutdown

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

Poweroff on shutdown

Request:

You have an ATX-Board or a laptop and want to poweroff the system at shutdown -h

Procedure:

Therefore you have to rebuild the kernel. Configure it as described in your manual and set the options CONFIG_APM=y and CONFIG_APM_POWER_OFF=y. Using make menuconfig you find them in section "Character devices".

If you have an kernel 2.2 you additionally have to set the option -p at the halt command in the script /sbin/init.d/halt.

 
...  
    case "$0" in
        *halt)
                message="The system is halted."
                command="halt -p"
                ;;
        *reboot)
...

---

Keywords: APMD, SHUTDOWN, HALT, POWEROFF, LAPTOP, NOTEBOOK

---

Categories: Hardware

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

SDB-poweroff_on_shutdown, Copyright SuSE GmbH, Nuremberg, Germany - Version: 16. Apr 1999
Impressum - Last generated: 21. Apr 1999 09:55:27 by zoz with sdb_gen 1.00.0