[Nut-upsuser] driver.parameter.offdelay vs ups.delay.shutdown / driver.parameter.ondelay vs ups.delay.start
Charles Lepple
clepple at gmail.com
Sat Mar 16 17:57:09 GMT 2024
On Mar 14, 2024, at 11:41 AM, Alan via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> wrote:
> Hi,
>
> My Cyber Power reports these two values. Each pair has the same value.
>
> Would they normally be the same thing?
Without any intervening `upsrw` changes, yes. `driver.parameter.*` corresponds to the initial value from ups.conf or `-x` command-line flags.
For usbhid-ups (and a few other drivers), the offdelay parameter sets ups.delay.shutdown when the driver starts:
https://github.com/networkupstools/nut/blob/v2.8.1/drivers/usbhid-ups.c#L1300-L1306
and likewise for ondelay and ups.delay.start.
--
Charles Lepple
clepple at gmail
> Nut-upsuser mailing list
> Nut-upsuser at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
More information about the Nut-upsuser
mailing list