summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wshaper/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-wshaper/ipkg/postinst')
-rw-r--r--applications/luci-app-wshaper/ipkg/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-wshaper/ipkg/postinst b/applications/luci-app-wshaper/ipkg/postinst
new file mode 100644
index 0000000000..dad884259d
--- /dev/null
+++ b/applications/luci-app-wshaper/ipkg/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/wshaper ) && rm -f /etc/uci-defaults/wshaper
+ exit 0
+}
+