packages/net/nut/files
Matt Merhar 72af40f2ba
nut: fix other/otherflag custom variables in nut-server.init
This allows custom config parameters to be added to the generated config
files, enabling the original intended functionality per
https://openwrt.org/docs/guide-user/services/ups/software.nut.

Example usage from /etc/config/nut_server:

config driver 'apc'
	option driver 'snmp-ups'
	option snmp_version 'v3'
	option port '172.16.100.5'
	list other 'secLevel'
	list other 'secName'
	list other 'authPassword'
	list otherflag 'notransferoids'

config other 'other_secLevel'
	option value 'authNoPriv'

config other 'other_secName'
	option value 'some_username'

config other 'other_authPassword'
	option value 'some_password'

config other 'otherflag_notransferoids'
	option value '1'

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
(cherry-picked from 0b04dd34a0)
2020-01-19 21:22:35 -08:00
..
30-libhid-ups.head nut: initscripts hotplug: Fix many small semantic issues 2019-01-20 12:16:28 -05:00
30-libhid-ups.tail nut: initscripts hotplug: Fix many small semantic issues 2019-01-20 12:16:28 -05:00
add_nut_httpd_conf net/nut: Protect CGI via HTTP Basic Auth 2017-01-11 18:54:16 -05:00
nut-cgi.init nut: initscripts hotplug: Fix many small semantic issues 2019-01-20 12:16:28 -05:00
nut-monitor.init nut: Fix nutmon issues with init 2019-04-28 20:17:12 +00:00
nut-sched.default net/nut: Build optional separate packages and ucify 2017-01-11 18:53:58 -05:00
nut-sendmail-notify nut: initscripts hotplug: Fix many small semantic issues 2019-01-20 12:16:28 -05:00
nut-sendmail-notify.default nut: initscripts hotplug: Fix many small semantic issues 2019-01-20 12:16:28 -05:00
nut-server.init nut: fix other/otherflag custom variables in nut-server.init 2020-01-19 21:22:35 -08:00
nut.service nut: add dev headers, nut-web-cgi and nut-avahi-service, bugfix 2015-10-03 18:11:28 -07:00
nut_cgi nut: nut-cgi: Add support for upsset 2018-08-29 00:15:18 -04:00
nut_monitor nut: Reduce user error with POWERDOWNFLAG 2018-08-29 00:17:19 -04:00
nut_serial.hotplug nut: initscripts hotplug: Fix many small semantic issues 2019-01-20 12:16:28 -05:00
nut_server nut: initscripts hotplug: Fix many small semantic issues 2019-01-20 12:16:28 -05:00
nutshutdown nut: Actually do FSD when required 2019-04-28 20:44:15 +00:00