summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-wshaper/ipkg/postinst
diff options
context:
space:
mode:
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 0000000000..dad884259d
--- /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
+}
+