diff options
Diffstat (limited to 'applications/luci-app-wshaper/root')
-rw-r--r-- | applications/luci-app-wshaper/root/etc/uci-defaults/wshaper | 11 |
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 |