upsc, upscmd and upsrw should provide a -t timeout option.
Underlying mechanism is already available in libupsclient->upscli_tryconnect(...).
Alioth patch #313881
https://alioth.debian.org/tracker/index.php?func=detail&aid=313881&group_id=30602&atid=411544
An external contributor (Imene Guerfa) is already working on this.
upsc, upscmd and upsrw should provide a -t timeout option.
Underlying mechanism is already available in libupsclient->upscli_tryconnect(...).
Alioth patch #313881
https://alioth.debian.org/tracker/index.php?func=detail&aid=313881&group_id=30602&atid=411544
An external contributor (Imene Guerfa) is already working on this.