Tox nodes

This commit is contained in:
Bob Mottram 2016-05-28 16:28:31 +01:00
parent 67a9eccb9b
commit 08c2079e61
1 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,12 @@ PEER_ID=
INSTALL_DIR=/root/build INSTALL_DIR=/root/build
INSTALL_LOG=/var/log/${PROJECT_NAME}.log INSTALL_LOG=/var/log/${PROJECT_NAME}.log
TOX_NODES=
#TOX_NODES=(
# '192.254.75.102,2607:5600:284::2,33445,951C88B7E75C867418ACDB5D273821372BB5BD652740BCDF623A4FA293E75D2F,Tox RELENG,US'
# '144.76.60.215,2a01:4f8:191:64d6::1,33445,04119E835DF3E78BACF0F84235B300546AF8B936F035185E2A8E9E0A67C8924F,sonOfRa,DE'
#)
function change_avahi_name { function change_avahi_name {
decarray=( 1 2 3 4 5 6 7 8 9 0 ) decarray=( 1 2 3 4 5 6 7 8 9 0 )
PEER_ID=${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]} PEER_ID=${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}${decarray[$RANDOM%10]}