浏览代码

Don't install scuttlebot on mesh nodes

Bob Mottram 7 年前
父节点
当前提交
3bcad80f38
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/freedombone-app-scuttlebot

+ 4
- 0
src/freedombone-app-scuttlebot 查看文件

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