소스 검색

Check bmx7 was installed

Bob Mottram 7 년 전
부모
커밋
4cad482b5f
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      src/freedombone-mesh-batman

+ 3
- 1
src/freedombone-mesh-batman 파일 보기

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