Kris Jordan wrote, On 7/27/2012 9:39 AM:

[email protected] wrote, On 7/27/2012 12:15 AM:
On Windows 7 x64 (I haven't tested XP), upsdrvctl shutdown doesn't
appear to get called during automatic OS shutdown by NUT. I used upsmon
-c fsd to test. upsdrvctrl shutdown works if I run it manually.
Last time I tested this, upsdrvctl was correclty called at OS shutdown time. Maybe a regression or an issue with Win7. I will a have to investigate.

Okay, that's good. That is what I was hoping it would at least do. I'll do some more tests to make sure I don't have something else going on.

Not working in XP (as a VM) either. I might be doing something wrong.

upsdrvctl stop

Network UPS Tools - UPS driver controller 2.6.4-3534:3579M
Stopping UPS: ups
Sending signal to C:\Program Files\NUT\bin\..\var\run/usbhid-ups-ups.pid
Stopping C:\Program Files\NUT\bin\..\var\run/usbhid-ups-ups.pid
failed: No error [The parameter is incorrect. ]

I get the same message on Win7.

If I run upsdrvctrl start myself, I can upsdrvctl stop then shutdown without issues.

upsmon.pid doesn't get removed after stopping the nut service. upsd.exe.pid does get removed and it has 'exe' in its filename.


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

Reply via email to