Files
packages/net/nut/Config.in
Daniel F. Dickinson 7eafd0ada6 nut: add linting and fix whitespace and typos
shellcheck is a useful linter if a bit pedantic and overzealous so
add overrides to silence false positives

Also, fix issues found by the linting.

* misspelling meant initscript could skip updating configuration in
  certain circumstances
* minor: assignment of the result of execution as the time of creating
  local. This has been separated.

Fix whitespace and comment typos
Fix typo in Config.in option text
* This is cosmetic, but user-facing (for users building via SDK or
  buildroot).

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-03-03 19:53:14 +01:00

40 lines
1.3 KiB
Plaintext

config NUT_SSL
depends on PACKAGE_nut
bool "Build with support for OpenSSL"
help
SSL allows sessions between upsd and clients to be encrypted and can
also be used to authenticate servers. This means that stealing port
3493 from upsd will no longer net you interesting passwords. SSL is
available via OpenSSL on OpenWRT (NSS doesn't seem to work). If you
are happy with using passwords to authenticate clients, you can save
some space and build NUT without SSL support.
default n
config NUT_DRIVER_USB
depends on PACKAGE_nut
bool "Build with support for USB drivers"
help
If you have a UPS connected via USB, select this.
default y
config NUT_DRIVER_SNMP
depends on PACKAGE_nut
bool "Build with support for SNMP drivers"
help
If you have a UPS you can connect to via SNMP, select this.
default n
config NUT_DRIVER_SERIAL
depends on PACKAGE_nut
bool "Build with support for serial drivers"
help
If you have a UPS connected via serial cable, select this.
default y
config NUT_DRIVER_NEON
depends on PACKAGE_nut
bool "Build with support for netxml drivers"
help
If you have a UPS connected via netxml, select this.
default y