[CentOS] apcupsd, odd behavior

Leon Fauster leonfauster at googlemail.com
Sat Feb 16 20:32:53 UTC 2013


Am 16.02.2013 um 18:33 schrieb Devin Reade <gdr at gno.org>:
> ...
> One thing that *is* more on-topic for CentOS and apcupsd, be aware
> that system updates don't clobber the patched /etc/rc.d/init.d/halt
> script needed for apcupsd to actually shut down your system.  I 
> have a cron job on such systems that looks for the string 'apcupsd'
> in that file; if it doesn't exist, an email alert goes out to me
> so that I know that I have to re-patch it.


what about /sbin/halt.local this file could be used for such thing. 
(check /etc/rc.d/init.d/halt to see what ist done with /sbin/halt.local)

--
LF



More information about the CentOS mailing list