Parcourir la source

Check bmx7 was installed

Bob Mottram il y a 7 ans
Parent
révision
4cad482b5f
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3
    1
      src/freedombone-mesh-batman

+ 3
- 1
src/freedombone-mesh-batman Voir le fichier

@@ -60,7 +60,9 @@ function stop {
60 60
     fi
61 61
 
62 62
     systemctl stop bmx6
63
-    systemctl stop bmx7
63
+    if [ -d /etc/bmx7 ]; then
64
+        systemctl stop bmx7
65
+    fi
64 66
     systemctl stop olsr2
65 67
     systemctl stop babel
66 68
     systemctl disable bmx6