- #!/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
|