luci-minuupnpd: use enable flag 1005/head
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Sat, 11 Feb 2017 20:31:58 +0000 (20:31 +0000)
committerKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Thu, 23 Feb 2017 09:49:56 +0000 (09:49 +0000)
commit1093327a4ddaf377fde40fdfb8ed168abac4b5eb
tree83505c69aecd8e708ba40920432376a1b4cc2593
parent09353ff64059b82f5ce2fab330a036e448b4a075
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>
applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua