ソースを参照

Include bmx status within batman status command

Bob Mottram 7 年 前
コミット
9301df8b4a
共有1 個のファイルを変更した6 個の追加0 個の削除を含む
  1. 6
    0
      src/freedombone-mesh-batman

+ 6
- 0
src/freedombone-mesh-batman ファイルの表示

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