On Jan 31, 2015, at 3:09 PM, Melvin Call <[email protected]> wrote:

> One last question if you don't mind. I noticed the "default" POWERDOWNFLAG is
> set to /etc/killpower, but I changed that to /tmp and modified my umountroot
> script to mount it read only too, because I know it gets wiped on reboot. Is
> there anything that removes /etc/killpower on reboot, or a more compelling
> reason to put killpower in /etc, other than it is usually not on a separate
> partition?

I'll be honest, /etc/killpower has been that way for a long time, and I haven't 
really followed up on why.

It looks like upsmon removes it at startup in the clear_pdflag() function (if 
it was indeed created by upsmon last shutdown).

-- 
Charles Lepple
clepple@gmail




_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to