From 2a6a5d6084258dc4d1317bd9e22f5b7fe395b94d Mon Sep 17 00:00:00 2001 From: Lars Gierth Date: Sat, 25 Apr 2015 04:00:27 +0200 Subject: [PATCH] cjdns: parse lan ifname more gracefully Signed-off-by: Daniel Golle --- cjdns/files/cjdns.defaults | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cjdns/files/cjdns.defaults b/cjdns/files/cjdns.defaults index fd48269..f6ca772 100644 --- a/cjdns/files/cjdns.defaults +++ b/cjdns/files/cjdns.defaults @@ -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" -- 2.30.2