Force postinst script exiting with return code 0
[project/luci.git] / applications / luci-ushare / ipkg / postinst
1 #!/bin/sh
2 [ -n "${IPKG_INSTROOT}" ] || {
3 ( . /etc/uci-defaults/luci-ushare ) && rm -f /etc/uci-defaults/luci-ushare
4 /etc/init.d/ushare enabled || /etc/init.d/ushare enable
5 exit 0
6 }