Brendan O'Dea wrote: > > On Tue, Jul 10, 2001 at 01:19:49PM +1000, I wrote: > >On Mon, Jul 09, 2001 at 05:29:55PM -0700, ozymandias G desiderata wrote: > >>[...] However, it is very sad-making when my system keels over > >>dead with no warning because its battery has run dry. [...] > > > >pmud does attempt to issue a warning [...] > > I forgot to add, if you want it to actually perform some action when > power gets low/restored you need to install a /etc/init.d/powerfail > script (called by init when pmud signals it with SIGPWR). > > There is an example powerfail script in /usr/share/doc/pmud/examples.
And make sure that the pmud options in /etc/default/power contain -s . -- Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer CS student, Free Software enthusiast \ XFree86 and DRI project member