Are there any plans to allow us to specify UPS variables in ups.conf, eg:

[evo_s_3000]
        driver = usbhid-ups
        port = auto
        desc = "Eaton Evolution S 3000"
        vendorid = 0463
        productid = ffff
        ups.delay.shutdown = 120
        ups.delay.start = 130

The reason I ask is that I'm using FreeBSD & gmirror and need to extend the gracetime for the system to shutdown. For the moment, I've created a custom shutdown script that is set in upsmon.conf that does the job.

#!/usr/local/bin/bash

/usr/local/bin/upsrw -s ups.delay.start=130 -u haltuser -p somepassword evo_s_3000 /usr/local/bin/upsrw -s ups.delay.shutdown=120 -u haltuser -p somepassword evo_s_3000

/sbin/shutdown -h +0


Thanks,
John

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

Reply via email to