[Nut-upsuser] Start up script fails [/etc/killpower]
Melvin Call
melvincall979 at gmail.com
Sun Feb 1 12:04:52 UTC 2015
On 1/31/15, Charles Lepple <clepple at gmail.com> wrote:
> On Jan 31, 2015, at 3:09 PM, Melvin Call <melvincall979 at gmail.com> 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 at gmail
Thank you Charles, for the assistance and the information. Everything is
completely functional here now. Not sure if the APC BackUPS ES550 is on the
list of compatible devices, but it works just fine with the usbhid-ups driver,
and supports several basic commands.
Best,
Melvin
More information about the Nut-upsuser
mailing list