target/realtek: don't bridge lan by default

This commit is contained in:
jjm2473 2022-03-01 17:35:33 +08:00
parent cefb099bc1
commit 2284213f02

View File

@ -105,9 +105,9 @@ generate_network() {
# Force bridge for "lan" as it may have other devices (e.g. wireless)
# bridged
[ "$1" = "lan" -a -z "$ports" ] && {
ports="$device"
}
# [ "$1" = "lan" -a -z "$ports" ] && {
# ports="$device"
# }
[ -n "$ports" -a -z "$bridge" ] && {
uci -q batch <<-EOF