mirror of
https://git.openwrt.org/feed/routing.git
synced 2025-01-08 11:47:51 +08:00
cjdns: parse lan ifname more gracefully
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
e693e6ac09
commit
2a6a5d6084
@ -23,7 +23,7 @@ EOF
|
||||
fi
|
||||
|
||||
# enable auto-peering on ethernet
|
||||
uci show network.lan | grep type=bridge >/dev/null 2>&1
|
||||
uci show network.lan | grep bridge >/dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
# most routers will set up an ethernet bridge for the lan
|
||||
ifname="br-lan"
|
||||
|
Loading…
Reference in New Issue
Block a user