From 4cad482b5f3cb3a9d0a7536f5c3216596cb9a70c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 14 Apr 2018 11:04:56 +0100 Subject: [PATCH] Check bmx7 was installed --- src/freedombone-mesh-batman | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/freedombone-mesh-batman b/src/freedombone-mesh-batman index cce0bbf4..1b5ad086 100755 --- a/src/freedombone-mesh-batman +++ b/src/freedombone-mesh-batman @@ -60,7 +60,9 @@ function stop { fi systemctl stop bmx6 - systemctl stop bmx7 + if [ -d /etc/bmx7 ]; then + systemctl stop bmx7 + fi systemctl stop olsr2 systemctl stop babel systemctl disable bmx6