mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
13 lines
229 B
Bash
Executable File
13 lines
229 B
Bash
Executable File
#!/bin/sh
|
|
touch /etc/config/syncdial
|
|
|
|
uci -q batch <<-EOF >/dev/null
|
|
delete ucitrack.@syncdial[-1]
|
|
add ucitrack syncdial
|
|
set ucitrack.@syncdial[-1].exec='/bin/genwancfg'
|
|
commit ucitrack
|
|
EOF
|
|
|
|
rm -f /tmp/luci-indexcache
|
|
exit 0
|