update 2026-09-20 02:20:59

This commit is contained in:
action committed 2026-09-20 02:20:59 +08:00
1 parent deb27aee9d
commit 33c69f15d2
1985 files changed
+460 -1523312

No files matched your search

+5 -1
View File
@@ -63,12 +63,16 @@ add_wizard() {
[ -n "$lan_dns" ] || lan_dns='223.5.5.5'
[ -n "$dhcp" ] && uci -q set dhcp.lan.ignore="1" || uci -q del dhcp.lan.ignore
uci -q set firewall.@zone[0].masq='1'
uci -q set network.wan.proto='none'
WAN=$(uci -q get network.wan.device)
uci add_list network.@device[0].ports="$WAN" 2>/dev/null
uci -q delete network.wan
uci -q delete network.wan6
elif [ "${siderouter}" == "0" ]; then
uci -q del network.lan.gateway
uci -q del dhcp.lan.ignore
uci -q del network.lan.dns
uci -q del firewall.@zone[0].masq
uci -q set network.wan.device='eth1'
uci -q set network.wan.proto='dhcp'
fi