소스 검색

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
 
51
 
52
 function status {
52
 function status {
53
     batctl o
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
 function stop {
62
 function stop {