X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-wshaper%2Froot%2Fetc%2Fuci-defaults%2Fluci-wshaper;fp=applications%2Fluci-wshaper%2Froot%2Fetc%2Fuci-defaults%2Fluci-wshaper;h=9e4eb15f07218e89da1807b3edccfb3178a86991;hp=0000000000000000000000000000000000000000;hb=87a3f2f12999abd7f88e186ee87f32255f4a339b;hpb=594e333a7788c47e7c83b655a34f7be73d0551d9 diff --git a/applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper b/applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper new file mode 100644 index 000000000..9e4eb15f0 --- /dev/null +++ b/applications/luci-wshaper/root/etc/uci-defaults/luci-wshaper @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@wshaper[-1] + add ucitrack wshaper=wshaper + set ucitrack.wshaper.exec='/etc/init.d/wshaper start' + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0