mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 17:04:33 +04:00
cjdns: parse lan ifname more gracefully
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
committed by
Daniel Golle
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"
|
||||
|
||||
Reference in New Issue
Block a user