12 lines
194 B
Bash
Executable File
12 lines
194 B
Bash
Executable File
#!/bin/sh
|
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@smartdns[-1]
|
|
add ucitrack smartdns
|
|
set ucitrack.@smartdns[-1].init=smartdns
|
|
commit ucitrack
|
|
EOF
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
exit 0
|