cjdns: parse lan ifname more gracefully
[feed/routing.git] / 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"