Re: Have computer power off automatically
Tibor D. wrote:
> You don't even have to recompile, but you have to activate apm. At the
> lilo-prompt, type "linux apm=on" to test it. If that works, you can save
> that in /etc/lilo.conf with the line append="apm=on"
>
> debuser@platinum.globalmart.com wrote:
>
> > You need to recompile your kernel with "advanced power management BIOS
> > support" turned on. I think that's the only option you need (someone
> > correct me if I'm wrong). Your BIOS needs to support this as well (I
> > believe most modern BIOSs do).
> >
> > Gerry
> >
> > On Mon, 5 Feb 2001, Cameron Matheson wrote:
> >
> >> Hey,
> >>
> >> I was just wondering if Linux had a way to turn your computer off at shutdown (kind of like windoze). How would I go about doing that?
Two different kernel config settings are involved in getting computer
off at shutdown. First is that CONFIG_APM=y must be set.
Now if CONFIG_APM_DISABLE_BY_DEFAULT is_not_set then thats all you
need.
However if CONFIG_APM_DISABLE_BY_DEFAULT is_set then this
option will disable APM at boot time unless apm=on is specified.
The default setting is dependent on the kernel version.In kernel
2.2.18 it is not set, so append='apm=on' is not required in lilo.conf.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reply to: