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

Re: pbbuttonsd && APM events (/etc/apm/*.d/)



On Thu, Jun 12, 2003 at 03:39:08PM +0200, Michael Schmitz wrote:
> > And so ... powerbook people is living without apm events or what?
> WTF is apm?

Advanced Power Management (Daemon): is a daemon able to trigger actions
upon receiving power management daemon. You can use it to perform the
actions actually done by pbbuttonsd, but even more ...

For example /etc/apm/event.d/anacron is a script that start anacron only
when you connect your laptop to a power supply. Apmd each time a power
management event is received look in /etc/apm/event.d/ and invoke the
scripts found there with arguments describing which event occured.

Cheers.

-- 
Stefano Zacchiroli  --  Master in Computer Science @ Uni. Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it}  -  http://www.bononia.it/zack/
"  I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!  " -- G.Romney



Reply to: