packages/net/nut/files
Matt Merhar 0b04dd34a0 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>
2020-01-19 22:39:44 -05:00
..
30-libhid-ups.head
30-libhid-ups.tail
add_nut_httpd_conf
nut-cgi.init
nut-monitor.init
nut-sched.default
nut-sendmail-notify
nut-sendmail-notify.default
nut-server.init nut: fix other/otherflag custom variables in nut-server.init 2020-01-19 22:39:44 -05:00
nut.service
nut_cgi
nut_monitor
nut_serial.hotplug
nut_server
nutshutdown