Browse Source

Include bmx status within batman status command

Bob Mottram 7 years ago
parent
commit
9301df8b4a
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/freedombone-mesh-batman

+ 6
- 0
src/freedombone-mesh-batman View File

@@ -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 {