From 2714082270032a8a553be01af752d437a245d7d2 Mon Sep 17 00:00:00 2001 From: sthope Date: Sun, 5 Dec 2021 16:51:25 +0100 Subject: [PATCH] initial commit --- files/amd64/noso-go.sh | 2 +- script.sh | 54 ++++++++++++------------------------------ 2 files changed, 16 insertions(+), 40 deletions(-) diff --git a/files/amd64/noso-go.sh b/files/amd64/noso-go.sh index db4fec7..2dc50c4 100755 --- a/files/amd64/noso-go.sh +++ b/files/amd64/noso-go.sh @@ -5,7 +5,7 @@ POOL="devnoso" #POOL="leviable" #POOL="russiapool" #POOL="CryptoCribRO" -WALLET="N3uKzdTeP4iV4ekhbkd2GW3izVPCREb" +WALLET="" CPU=4 for wallet in ${WALLET:?Variable not set or is empty}; do diff --git a/script.sh b/script.sh index dc95292..3b07dd2 100755 --- a/script.sh +++ b/script.sh @@ -6,46 +6,22 @@ ## ./script "WALLET_ID" -# e="rjs.ricardosilva@gmail.com" -# u="sthope" -#t="5f9e24c6d98571d67711d11e30552109cb5a327a" -# t="f8f43ba9798096a20ee90f9a11b619898e0cd190" -w="$1" +amd64_script="https://git.sthope.dev/sthope/DockerContainer-Noso/raw/branch/master/files/amd64/noso-go" +amd64_nano="https://git.sthope.dev/sthope/DockerContainer-Noso/raw/branch/master/files/amd64/noso-go.sh" -### Semantic Version -# build='build():'; -# feat='feat():'; -# fix='fix():'; -# perf='perf():'; -# ci='ci():'; -# docs='docs():'; -# refactor='refactor():'; -# style='style():'; -# test='test():'; +WALLET="$1" -# commit_msg_file="commit" +# NOSO_DIR="~/noso/" +NOSO_DIR="noso" -# if [[ -f "$commit_msg_file" ]]; then -# if grep -q "*build" "$commit_msg_file"; then -# sed -i "s/*build/$build/" $commit_msg_file -# elif grep -q "*feat" "$commit_msg_file"; then -# sed -i "s/*feat/$feat/" $commit_msg_file -# elif grep -q "*fix" "$commit_msg_file"; then -# sed -i "s/*fix/$fix/" $commit_msg_file -# elif grep -q "*perf" "$commit_msg_file"; then -# sed -i "s/*perf/$perf/" $commit_msg_file -# elif grep -q "*ci" "$commit_msg_file"; then -# sed -i "s/*ci/$ci/" $commit_msg_file -# elif grep -q "*docs" "$commit_msg_file"; then -# sed -i "s/*docs/$docs/" $commit_msg_file -# elif grep -q "*refactor" "$commit_msg_file"; then -# sed -i "s/*refactor/$refactor/" $commit_msg_file -# elif grep -q "*style" "$commit_msg_file"; then -# sed -i "s/*style/$style/" $commit_msg_file -# elif grep -q "*test" "$commit_msg_file"; then -# sed -i "s/*test/$test/" $commit_msg_file -# else echo "else" -# fi -# fi +clear -clear;echo "$w" +mkdir -p $NOSO_DIR + +cd $NOSO_DIR + +wget -q "$amd64_script" +wget -q "$amd64_nano" + +chmod a+x noso-go* +ls -l \ No newline at end of file