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/sh | |
[ "${1}" ] && { | |
safe networks add "${1}" "https://sn-node.s3.eu-west-2.amazonaws.com/testnet_tool/"${1}"/network-contacts" | |
safe networks switch "${1}" | |
} || echo "no input given - safenet-swtchto testnet-name" | |
exit 0 |
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 | |
# isu -- infinite safe upload | |
msg() { | |
printf '%s\n' "${0##*/}>> ${1}" | tee -a "test.log" | |
} | |
verify_put() { | |
safeURL=$(echo "${3}" | grep -o ' | safe://[^ ]*' | grep -o 'safe://[^ ]*') |
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 | |
######################################## - USER DEFINITIONS | |
# if you use a proxy add it here otherwise leave blank | |
gitProxy= | |
# make sure there is a slash at the end of your installDir definition | |
installDir="/opt/safenet/src/" | |
# do you want to build and test? Leave blank if not | |
# show build and test output via "xterm" (windows), | |
# "roxterm" (tabs), or "logOnly" --> note case |