summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-sqm/root/etc/uci-defaults/50-luci-sqm
blob: b3aa47c6da59d3fb518a435418ebb5fe53b101d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

uci -q batch <<-EOF >/dev/null
	delete ucitrack.@sqm[-1]
	add ucitrack sqm
	set ucitrack.@sqm[-1].init=sqm
	del_list ucitrack.@firewall[0].affects=sqm
	add_list ucitrack.@firewall[0].affects=sqm
	commit ucitrack
EOF

exit 0