summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-sqm/root/etc/uci-defaults/50-luci-sqm
blob: a3046b2a0f965b9f56b1c555d12a010b5135dc11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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

rm -f /tmp/luci-indexcache
exit 0