diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-04-16 16:49:04 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-04-16 16:49:04 +0000 |
commit | ca9314ee2203551fe2b28a976d7c6014b3b0957a (patch) | |
tree | 3ff3224577e9a46e14f7ab3060ec10ed27e30bd8 /applications/luci-watchcat/ipkg | |
parent | b6c98f9c579e8f18af57962d0e500b5b20bf6439 (diff) |
New application for watchcat
Hi,
This patch add a new luci-application for the watchcat package (in
feeds/packages/utils).
Chris
Diffstat (limited to 'applications/luci-watchcat/ipkg')
-rw-r--r-- | applications/luci-watchcat/ipkg/postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/applications/luci-watchcat/ipkg/postinst b/applications/luci-watchcat/ipkg/postinst new file mode 100644 index 0000000000..99114604ac --- /dev/null +++ b/applications/luci-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 +} |