miniupnpd: implement an 'enabled' flag 276/head
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Sat, 11 Feb 2017 19:13:29 +0000 (19:13 +0000)
committerKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Sun, 12 Feb 2017 08:46:24 +0000 (08:46 +0000)
commit33dc373da9b24547d2bc30e9038ffdb97cb41744
tree9ca972afba54da77b592695f3032a49a19a7bb6b
parentc71d752edabe8ace8381a009802d66fc10f46bbd
miniupnpd: implement an 'enabled' 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.

The service assumes enabled if no 'enabled' config flag is configured
for backwards compatibility.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
miniupnpd/files/miniupnpd.init
miniupnpd/files/upnpd.config