luci-app-minidlna: permit minidlna after sysupgrade 1001/head
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Tue, 24 Jan 2017 20:27:38 +0000 (20:27 +0000)
committerKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Sat, 11 Feb 2017 11:12:12 +0000 (11:12 +0000)
Do not disable minidlna after sysupgrade, rather trust the config
enabled status in /etc/config/minidlna.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
applications/luci-app-minidlna/root/etc/uci-defaults/40_luci-minidlna

index df43c1b37bed91f79707feee92d6064dad3d9a6f..47570307bae955c70364748f72248faccf37e5b4 100755 (executable)
@@ -1,10 +1,5 @@
 #!/bin/sh
 
-/etc/init.d/minidlna enabled && {
-       /etc/init.d/minidlna stop
-       /etc/init.d/minidlna disable
-}
-
 uci -q batch <<-EOF >/dev/null
        delete ucitrack.minidlna
        set ucitrack.minidlna=minidlna