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