luci-minuupnpd: use enable flag
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Sat, 11 Feb 2017 20:31:58 +0000 (20:31 +0000)
committerHannu Nyman <hannu.nyman@iki.fi>
Wed, 5 Jul 2017 20:16:19 +0000 (23:16 +0300)
commit27dfff83cb323c12f57394cc923051c2e7a5c51c
tree67e16b2243c1de21b5d1f57744e06fdbfd04b0e4
parent6fbf4c7dae6180ffc3a64046f1f4aa68db650d8b
luci-minuupnpd: use enable flag

Add a 'master' miniupnpd service enable flag rather than just relying on
rcS.d script existence.  This allows the service to be disabled
across sysupgrade, similar to minidlna.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit 1093327a4ddaf377fde40fdfb8ed168abac4b5eb)
applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua