[Nut-upsuser] Powerdown on FreeBSD
johan at pramming.net
Thu Aug 17 12:22:28 UTC 2006
I just bought a Trust 1000VA PW-4105 UPS.
I installed the UPS on FreeBSD 6.1, and installed NUT 2.0.3 via the FreeBSD
I had no problems installing and configuring nut and the UPS to run with the
My problem however is when I test the powerdown function by issuing the
command: 'upsmon -c fsd'
The UPS is cutting the power before the shutdown procedure of FreeBSD is
I have added the following to /etc/rc.shutdown:
if (test -f /etc/killpower)
echo "Killing the power, bye!"
I dropped the sleep command, as it doesn't have the desired effect on
After looking in the mailing list archives I found out that you can add a
delay on the powerdown for some UPS.
My UPS is using the PowerMust driver, and I could not find any such
directive to put in the ups.conf for that driver.
I have tried to set the variable ups.delay.shutdown to 20, but it didn't
have any effect on the powerdown.
In the UPS COMMANDS section of the driver man page it says:
Interval to wait after shutdown with delay command (seconds)
# upsc trustups at localhost
I have been google'ing a lot, but haven't been able to find at solution to
Is it at all possible with the PowerMust driver?
Any help I very much appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nut-upsuser