Explorar el Código

Include bmx status within batman status command

Bob Mottram hace 7 años
padre
commit
9301df8b4a
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6
    0
      src/freedombone-mesh-batman

+ 6
- 0
src/freedombone-mesh-batman Ver fichero

@@ -51,6 +51,12 @@ fi
51 51
 
52 52
 function status {
53 53
     batctl o
54
+
55
+    if grep -q "bmx6" $MESH_CURRENT_PROTOCOL; then
56
+        bmx6 -c show=originators
57
+    else
58
+        bmx7 -c show=originators
59
+    fi
54 60
 }
55 61
 
56 62
 function stop {