Re: apcupsd and 'shutdown -p'

2004-04-24 Thread Rishi Chopra
w to accomplish this? Problem has been solved. Command can be aliased through shell variable manipulation -or- as Neil Darlow suggested on the apcupsd mailing list ([apcupsd-users] apcupsd and 'shutdown -p', 4/23/2004, 1:20AM): Just change the shutdown command in the doshutdown case

apcupsd and 'shutdown -p'

2004-04-20 Thread Rishi Chopra
I'd like apcupsd to call 'shutdown -p' when halting the system. Currently the daemon works OK but allows for a race condition (e.g. battery is not dead but power is restored, leaving the system waiting for a key to be pressed)... Anyone have any ideas on how to accomplish this? -- Rishi Chopra