Re: Re: UPS support on CentOS 4.4

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



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.



--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux