2018-10-30 15:07:14 +08:00

12 lines
239 B
Bash
Executable File

#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@guest-wifi[-1]
add ucitrack guest-wifi
set ucitrack.@guest-wifi[-1].init=guest-wifi
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0