소스 검색

Fix mesh protocol condition

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

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

@@ -238,7 +238,7 @@ function start {
238 238
 
239 239
     systemctl restart nginx
240 240
 
241
-    if [[ "$MESH_DEFAULT_PROTOCOL" == 'bmx6' ]]; then
241
+    if grep -q "bmx6" $MESH_DEFAULT_PROTOCOL; then
242 242
         systemctl restart bmx6
243 243
     else
244 244
         systemctl restart bmx7