nodogsplash: simplify append_config_option 81/head
authorAlexander Couzens <lynxis@fe80.eu>
Thu, 5 Mar 2015 12:01:21 +0000 (13:01 +0100)
committerAlexander Couzens <lynxis@fe80.eu>
Thu, 5 Mar 2015 17:01:05 +0000 (18:01 +0100)
commit7a233607af8f435c7b696123d00f272799834342
treee75422a3b91a9679e222f33ad990458857b5da7d
parentdfa1e090fbabb0cb6b3beda2aa2aa4756b29c67a
nodogsplash: simplify append_config_option

Drop arguement config_counterpart from append_config_option(). append_config_option
took an additional argument named config_counterpart which represents the
configuration name in configfile.This is needed for configuration variable names isn't the same
as in uci. Nodogsplash ignores the case of configuration variables and makes this feature optional.
Introduce new func append_config_option_map() which does the old behaviour.
nodogsplash/files/nodogsplash.init