Created
May 14, 2022 16:07
-
-
Save Green-Sky/03abd63fd28af1fd148182b860dff47b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. | |
rm ~/.config/tox/DHTnodes.json | |
for i in {0..19} | |
do | |
# inital setup client if save file does not exist | |
if [[ ! -f "tmp_udp_ngc_testnet$i.tox" ]]; then | |
# set nick and join group. sleep for good mesure | |
{ sleep 1s ; echo -en "/nick tgreen_udp_$i\r/join 4EACCA789FE78054E7EF28D6866771819D0849E6B9BEC4253E876903A4868236\r" ; sleep 20s ; echo -en "/quit\r" ; } | ./toxic -u -L -f tmp_udp_ngc_testnet$i.tox | |
fi | |
screen -dmS toxic_session_udp_$i ./toxic -L -f tmp_udp_ngc_testnet$i.tox | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment