This commit is contained in:
Nick Peng
2018-12-08 17:01:43 +08:00
parent 39f6b98bc0
commit d6911608fc
2 changed files with 4 additions and 6 deletions

View File

@@ -222,6 +222,7 @@ start_service() {
uci delete smartdns.@smartdns[0].old_port 2>/dev/null
uci add_list smartdns.@smartdns[0].old_redirect="$redirect" 2>/dev/null
uci add_list smartdns.@smartdns[0].old_port="$SMARTDNS_PORT" 2>/dev/null
uci commit smartdns
config_foreach load_server "server"