cjdns: parse lan ifname more gracefully
authorLars Gierth <larsg@systemli.org>
Sat, 25 Apr 2015 02:00:27 +0000 (04:00 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 27 Apr 2015 02:18:30 +0000 (04:18 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
cjdns/files/cjdns.defaults

index fd48269ad16d02e69d8fefe9cffb28ef348feff9..f6ca7720ed57db0aef9a793681e0ece0892eb0b5 100644 (file)
@@ -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"