[CentOS] Re: UPS support on CentOS 4.4

Edward Diener eldiener at tropicsoft.com
Fri Dec 29 11:39:00 UTC 2006


Jim Perrin wrote:
>> What I really want of course is for a visual window to popup whenever
>> there are A/C problems, and whenever the A/C has lost power and the UPS
>> battery is getting low.
> 
> apcupsd should already do something similar at the console. You should
> get a warning in your terminal windows stating that you're on battery
> and blah blah. You can simply modify  /etc/apcupsd/apccontrol so that
> instead of the 'wall' it sends out, it uses gdialog or zenity, which
> would give you the popup window you want.

Thanks for the tip about changing apccontrol appropriately.




More information about the CentOS mailing list