Displaying 1 result from an estimated 1 matches for "cmdrepeat".
2009 Jan 17
0
Megatec driver FR: repeat shutdown
...permail/nut-upsuser/2007-June/002880.html
Inelt Monolith II 1000 (don't know about LT) actually requires
sending shutdown command twice, with delay of 5 to 8 seconds,
according to my experiments.
The attached patch enables the megatec driver to repeat shutdown
command with configurable delay (cmdrepeat, in milliseconds).
Default cmdrepeat value (=0) keeps the current behaviour,
single shutdown command.
Package
ftp://ftp.altlinux.org/pub/distributions/archive/Sisyphus/2007/04/15/files/SRPMS/nut-2.0.5-alt2.src.rpm
+ the patch + ups.conf below
[inelt]
driver = megatec
port = /dev/ttyS0
cmdrep...