summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-wshaper/root/etc/uci-defaults/wshaper
blob: 9e4eb15f07218e89da1807b3edccfb3178a86991 (plain)
1
2
3
4
5
6
7
8
9
10
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