ZhenYu 36837b9169 luci-app-verysync: add button (#2569)
* luci-app-verysync: add button

* fix compatibility with LuCI2

* improve translation

* improve translation

* fix mistake
2019-12-25 09:10:43 +08:00

12 lines
194 B
Bash
Executable File

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