summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ushare
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-ushare')
-rw-r--r--applications/luci-ushare/ipkg/postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-ushare/ipkg/postinst b/applications/luci-ushare/ipkg/postinst
index f3924893d..0309e3e1a 100644
--- a/applications/luci-ushare/ipkg/postinst
+++ b/applications/luci-ushare/ipkg/postinst
@@ -1,4 +1,5 @@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
( . /etc/uci-defaults/luci-ushare ) && rm -f /etc/uci-defaults/luci-ushare
+ /etc/init.d/ushare enabled || /etc/init.d/ushare enable
}