浏览代码

Switch to using a different scuttlebot port

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

+ 1
- 2
src/freedombone-app-scuttlebot 查看文件

@@ -36,8 +36,7 @@ SHOW_ON_ABOUT=0
36 36
 SHOW_ICANN_ADDRESS_ON_ABOUT=0
37 37
 
38 38
 SCUTTLEBOT_VERSION='10.4.6'
39
-SCUTTLEBOT_PORT=8008
40
-SCUTTLEBOT_MESH_PORT=8010
39
+SCUTTLEBOT_PORT=8010
41 40
 
42 41
 scuttlebot_variables=(MY_USERNAME
43 42
                       DEFAULT_DOMAIN_NAME

+ 2
- 2
src/freedombone-image-mesh 查看文件

@@ -83,7 +83,7 @@ STUNNEL_PORT=3439
83 83
 VPN_TLS_PORT=553
84 84
 VPN_MESH_TLS_PORT=653
85 85
 
86
-SCUTTLEBOT_MESH_PORT=8010
86
+SCUTTLEBOT_PORT=8010
87 87
 
88 88
 # Debian stretch has a problem where the formerly predictable wlan0 and eth0
89 89
 # device names get assigned random names. This is a hacky workaround.
@@ -792,7 +792,7 @@ function initialise_scuttlebot_pub {
792 792
 
793 793
     echo '{' > /etc/scuttlebot/.ssb/config
794 794
     echo "  \"host\": \"${HOSTNAME}\"," >> /etc/scuttlebot/.ssb/config
795
-    echo "  \"port\": ${SCUTTLEBOT_MESH_PORT}," >> /etc/scuttlebot/.ssb/config
795
+    echo "  \"port\": ${SCUTTLEBOT_PORT}," >> /etc/scuttlebot/.ssb/config
796 796
     echo '  "timeout": 30000,' >> /etc/scuttlebot/.ssb/config
797 797
     echo '  "pub": true,' >> /etc/scuttlebot/.ssb/config
798 798
     echo '  "local": true,' >> /etc/scuttlebot/.ssb/config