From 9301df8b4a6d46e65e4dbafb9fdaafc5b53735bc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 15 Jan 2018 13:34:06 +0000 Subject: [PATCH] Include bmx status within batman status command --- src/freedombone-mesh-batman | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedombone-mesh-batman b/src/freedombone-mesh-batman index 3af6b73c..dff334d9 100755 --- a/src/freedombone-mesh-batman +++ b/src/freedombone-mesh-batman @@ -51,6 +51,12 @@ fi function status { batctl o + + if grep -q "bmx6" $MESH_CURRENT_PROTOCOL; then + bmx6 -c show=originators + else + bmx7 -c show=originators + fi } function stop {