summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wshaper/root/etc/uci-defaults/wshaper
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-wshaper/root/etc/uci-defaults/wshaper')
-rw-r--r--applications/luci-app-wshaper/root/etc/uci-defaults/wshaper11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-wshaper/root/etc/uci-defaults/wshaper b/applications/luci-app-wshaper/root/etc/uci-defaults/wshaper
new file mode 100644
index 000000000..918dff280
--- /dev/null
+++ b/applications/luci-app-wshaper/root/etc/uci-defaults/wshaper
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@wshaper[-1]
+ set ucitrack.wshaper="wshaper"
+ set ucitrack.wshaper.exec='/etc/init.d/wshaper start'
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0