Parcourir la source

Switch to using a different scuttlebot port

Bob Mottram il y a 7 ans
Parent
révision
cfd9a1f80d
2 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. 1
    2
      src/freedombone-app-scuttlebot
  2. 2
    2
      src/freedombone-image-mesh

+ 1
- 2
src/freedombone-app-scuttlebot Voir le fichier

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

+ 2
- 2
src/freedombone-image-mesh Voir le fichier

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