SuSE GmbH

SuSE Support Database

Title: Poweroff on shutdown

----------

Mainpage o Searchform o History o Versions o Categories o 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 o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-poweroff_on_shutdown, Copyright SuSE GmbH, Nuremberg, Germany - Version: 16. Apr 1999
SuSE GmbH - Last generated: 07. Oct 1999 17:53:44 by maddin with sdb_gen 1.00.0