diff options
Diffstat (limited to 'applications/luci-app-watchcat/ipkg/postinst')
-rw-r--r-- | applications/luci-app-watchcat/ipkg/postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/applications/luci-app-watchcat/ipkg/postinst b/applications/luci-app-watchcat/ipkg/postinst new file mode 100644 index 0000000000..99114604ac --- /dev/null +++ b/applications/luci-app-watchcat/ipkg/postinst @@ -0,0 +1,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 +} |