summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-wshaper/ipkg/postinst
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-10-15 18:47:42 +0000
committerManuel Munz <freifunk@somakoma.de>2011-10-15 18:47:42 +0000
commit87a3f2f12999abd7f88e186ee87f32255f4a339b (patch)
treecaa615fd5b4f480fd1d9f4b2830dd474119eccf0 /applications/luci-wshaper/ipkg/postinst
parent594e333a7788c47e7c83b655a34f7be73d0551d9 (diff)
applications: Add luci-wshaper (#53)
Diffstat (limited to 'applications/luci-wshaper/ipkg/postinst')
-rw-r--r--applications/luci-wshaper/ipkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-wshaper/ipkg/postinst b/applications/luci-wshaper/ipkg/postinst
new file mode 100644
index 000000000..dad884259
--- /dev/null
+++ b/applications/luci-wshaper/ipkg/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/wshaper ) && rm -f /etc/uci-defaults/wshaper
+ exit 0
+}
+