Poweroff on shutdown(Internal)


o TeX o Ascii
o Deutsch o Français o Cesky o Korean

Support knowledgebase (poweroff_on_shutdown)

SuSE-INTERN:

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:

Categories: Hardware

SDB-poweroff_on_shutdown, Copyright SuSE Linux AG, Nürnberg, Germany
Author: Christian.Zoz@suse.de - Version: 16. Apr 1999
SuSE Linux AG - Last generated: 02. Apr 2002 by Christian.Zoz (sdb_gen 1.40.0)