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

Re: How to make the debian system shut down with power off?



Hi,

* James Ng Yuen Sum <james_nghk_debian_user@yahoo.com.hk> [030627 11:11]:
> I have installed the debian system several times. In the first time,
> after the installation, the computer can shut down automatically.(that
> means the computer can shut down with the power off automatically when
> you switch "shut down the computer" in the kdm.
> 
> However, in the second time, the computer cannot do the same jobs, so I
> want to ask how to set the computer automatically shut down with power off
> 
> I have asked the same questions in www.debianhelp.org, and a viewer said
> that it has to be done by configuring the modules, but he/she cannot
> remember how to set it.

This is done by apm. It sounds like you run a fairly stock set up, so
you should be able to get this working fairly easily.

Add the following line to your /etc/lilo.conf and then run lilo (both
must be done as root).

append="apm=on"

You may also need to add apm to the list of modules to be loaded at
boot:

echo apm >> /etc/modules

HTH,

Nick.

-- 
Debian testing/unstable
Linux twofish 2.4.21-looxt93c #1 Thu Jun 26 15:38:09 JST 2003



Reply to: