Przeglądaj źródła

Don't install scuttlebot on mesh nodes

Bob Mottram 7 lat temu
rodzic
commit
3bcad80f38
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4
    0
      src/freedombone-app-scuttlebot

+ 4
- 0
src/freedombone-app-scuttlebot Wyświetl plik

@@ -376,6 +376,10 @@ function install_dat {
376 376
 }
377 377
 
378 378
 function mesh_install_scuttlebot {
379
+    if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" ]]; then
380
+        return
381
+    fi
382
+
379 383
     SCUTTLEBOT_ONION_HOSTNAME=
380 384
 
381 385
     mesh_install_dat