luci-0.8: merge r4806
[project/luci.git] / applications / luci-ushare / ipkg / postinst
index f392489..0309e3e 100644 (file)
@@ -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
 }