I am trying to make ups.delay.shutdown writable so the user can use upsrw to change it.

In the driver, after setting the variable to 0, I am using:  dstate_setflags("ups.delay.shutdown", ST_FLAG_RW);

But when I ask for available variables from upsrw I get:

[ups.delay.shutdown]
Interval to wait after shutdown with delay command (seconds)
Type: UNKNOWN (unrecognized)

When I try and set the value with: ./upsrw -s ups.delay.shutdown=60 -u <user> -p <pw> <UPS>, I get: OK, but when I ask for the variable using upsc I get:  ups.delay.shutdown: 0

What am I misunderstanding? 

Thanks,

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

Reply via email to