rufengsuixing пре 5 година
родитељ
комит
aea14bd862
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      root/etc/init.d/AdGuardHome

+ 1 - 1
root/etc/init.d/AdGuardHome

@@ -190,7 +190,7 @@ do_redirect()
 	config_get "old_redirect" "$section" "old_redirect" "none"
 	config_get "old_redirect" "$section" "old_redirect" "none"
 	config_get "old_port" "$section" "old_port" "0"
 	config_get "old_port" "$section" "old_port" "0"
 	config_get "old_enabled" "$section" "old_enabled" "0"
 	config_get "old_enabled" "$section" "old_enabled" "0"
-	if [ "$old_enabled" = "1" -a "$old_redirect" == "exchange"]; then
+	if [ "$old_enabled" = "1" -a "$old_redirect" == "exchange" ]; then
 		AdGuardHome_PORT=$(uci get dhcp.@dnsmasq[0].port)
 		AdGuardHome_PORT=$(uci get dhcp.@dnsmasq[0].port)
 	fi
 	fi