summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2017-01-24 20:27:38 +0000
committerKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2017-02-11 11:12:12 +0000
commit9b35ded53b4e0657fc827f49404ef62794723079 (patch)
treeb5d3466916c47f1b721145a775bd9d82c6656fa7
parent0934d7552cd29ab67723dd63382e50f619dafff1 (diff)
luci-app-minidlna: permit minidlna after sysupgrade
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>
-rwxr-xr-xapplications/luci-app-minidlna/root/etc/uci-defaults/40_luci-minidlna5
1 files changed, 0 insertions, 5 deletions
diff --git a/applications/luci-app-minidlna/root/etc/uci-defaults/40_luci-minidlna b/applications/luci-app-minidlna/root/etc/uci-defaults/40_luci-minidlna
index df43c1b37b..47570307ba 100755
--- a/applications/luci-app-minidlna/root/etc/uci-defaults/40_luci-minidlna
+++ b/applications/luci-app-minidlna/root/etc/uci-defaults/40_luci-minidlna
@@ -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