summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-watchcat/ipkg/postinst
blob: 99114604ac04ecab6019d59af16ff77eb25290fb (plain)
1
2
3
4
5
6
7
#!/bin/sh
me="watchcat"
[ -n "${IPKG_INSTROOT}" ] || {
	( . /etc/uci-defaults/luci-$me ) && rm -f /etc/uci-defaults/luci-$me
	/etc/init.d/$me enabled || /etc/init.d/$me enable
	exit 0
}