summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ushare/ipkg/postinst
blob: 54b1a33b4d51ee7d1e38edad12603f1d24f61bb2 (plain)
1
2
3
4
5
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
}