Bob Mottram пре 7 година
родитељ
комит
c8a0e38f3a
1 измењених фајлова са 5 додато и 3 уклоњено
  1. 5
    3
      src/freedombone-image-mesh

+ 5
- 3
src/freedombone-image-mesh Прегледај датотеку

@@ -1449,9 +1449,11 @@ if [ -f $MESH_INSTALL_SETUP ]; then
1449 1449
     systemctl disable bmx6
1450 1450
     echo $'BMX6 disabled' >> $INSTALL_LOG
1451 1451
 
1452
-    systemctl stop bmx7
1453
-    systemctl disable bmx7
1454
-    echo $'BMX7 disabled' >> $INSTALL_LOG
1452
+    if [ -d /etc/bmx7 ]; then
1453
+        systemctl stop bmx7
1454
+        systemctl disable bmx7
1455
+        echo $'BMX7 disabled' >> $INSTALL_LOG
1456
+    fi
1455 1457
 
1456 1458
     systemctl stop olsr2
1457 1459
     systemctl disable olsr2