The Network UPS Tools repository. UPS management protocol Informational RFC 9271 published by IETF at https://www.rfc-editor.org/info/rfc9271 Please star NUT on GitHub, this helps with sponsorships!
It seems that commit 3eb96fe98f9bd75813fa243832732e61ac614726 (PR #2246 for issue #2242) released in NUT v2.8.2 broke detection that libupsclient.so is not available (not a really practical situation breaking end-user setups, outside of some weird packaging choices on constrained systems, or builds on systems where NUT is not installed into common paths - it did fire up in test cases investigated for another issue #2431).
Also this PR takes a moment to clarify what "old nut" is about in nut-scanner context (as opposed to "new" avahi-based detection where available) so help() and codebase reading is more comprehensible.
Finally, this PR changes all flags about detected scanning methods to be zeroed initially, only set to 1 (even if always) in the nutscan_init() method, to be consistent.
It seems that commit 3eb96fe98f9bd75813fa243832732e61ac614726 (PR #2246 for issue #2242) released in NUT v2.8.2 broke detection that
libupsclient.so
is not available (not a really practical situation breaking end-user setups, outside of some weird packaging choices on constrained systems, or builds on systems where NUT is not installed into common paths - it did fire up in test cases investigated for another issue #2431).Also this PR takes a moment to clarify what "old nut" is about in
nut-scanner
context (as opposed to "new" avahi-based detection where available) sohelp()
and codebase reading is more comprehensible.Finally, this PR changes all flags about detected scanning methods to be zeroed initially, only set to
1
(even if always) in thenutscan_init()
method, to be consistent.