Red Hat Bugzilla – Bug 19665
nut: /etc/killpower not created by upsmon
Last modified: 2008-05-01 11:37:59 EDT
The default POWERDOWNFLAG in /etc/ups/upsmon.conf is /etc/killpower. This file is supposed to be created by upsmon just before
a shutdown. It never gets created. I can manually create the file, and then my modified /etc/rc.d/init.d/halt file will call apcsmart with the -k
correctly. Upon power up, upsmon is supposed to remove /etc/killpower, but it does not.
PS: I can't enter Component Text:: nut, so I had to chose what should have been before it. The correct component is nut from disc 2 of RedHat
/etc/killpower is created only after UPS indicates LOW BATTERY condition and upsmon initiates shutdown. /etc/killpower is not created when status is