diff options
author | Rob J. Epping <epping@renf.us> | 2022-05-11 23:17:06 +0200 |
---|---|---|
committer | Rob J. Epping <epping@renf.us> | 2022-05-13 06:53:27 +0200 |
commit | 67e49b7e0e837f8b8677b7ac70321879a941b928 (patch) | |
tree | 32d0c72e95ec26c8be0169c4f7e191990a7087e3 /net/nut/files | |
parent | 9213eee17556f57199e1e35f1b50fa98532cb994 (diff) |
nut: add cable type nut driver config
at least driver apcsmart-old (maybe more) allow for specifying the
type of cable used. My old UPS does will not function when cable type
is not specified.
This will add support for configuration option 'cable'
Signed-off-by: Rob J. Epping <epping@renf.us>
Diffstat (limited to 'net/nut/files')
-rwxr-xr-x | net/nut/files/nut-server.init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nut/files/nut-server.init b/net/nut/files/nut-server.init index f9178ba9f..70cb21f87 100755 --- a/net/nut/files/nut-server.init +++ b/net/nut/files/nut-server.init @@ -147,6 +147,7 @@ build_driver_config() { echo "[$cfg]" >>"$UPS_C" get_write_driver_config "$cfg" bus + get_write_driver_config "$cfg" cable get_write_driver_config "$cfg" community get_write_driver_config "$cfg" desc get_write_driver_config "$cfg" driver "usbhid-ups" |