diff options
Diffstat (limited to 'applications/luci-app-ushare/ipkg/postinst')
-rw-r--r-- | applications/luci-app-ushare/ipkg/postinst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-ushare/ipkg/postinst b/applications/luci-app-ushare/ipkg/postinst new file mode 100644 index 000000000..54b1a33b4 --- /dev/null +++ b/applications/luci-app-ushare/ipkg/postinst @@ -0,0 +1,6 @@ +#!/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 + exit 0 +} |