initial commit
This commit is contained in:
		@@ -5,8 +5,8 @@ POOL="devnoso"
 | 
			
		||||
#POOL="leviable"	
 | 
			
		||||
#POOL="russiapool"	
 | 
			
		||||
#POOL="CryptoCribRO"	
 | 
			
		||||
WALLET=""
 | 
			
		||||
CPU=
 | 
			
		||||
WALLET="${W}"
 | 
			
		||||
CPU=${CPU}
 | 
			
		||||
 | 
			
		||||
for wallet in ${WALLET:?Variable not set or is empty}; do
 | 
			
		||||
    wallets+=" --wallet $wallet"
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										20
									
								
								script.sh
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								script.sh
									
									
									
									
									
								
							@@ -13,6 +13,8 @@ noso_script="noso-go"
 | 
			
		||||
noso_nano="noso-go.sh"
 | 
			
		||||
 | 
			
		||||
WALLET="$1"
 | 
			
		||||
var=$(echo $1)
 | 
			
		||||
 | 
			
		||||
CPU=4
 | 
			
		||||
 | 
			
		||||
# NOSO_DIR="~/noso/"
 | 
			
		||||
@@ -30,12 +32,14 @@ wget -q "$amd64_nano"
 | 
			
		||||
chmod a+x noso-go*
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
variable=( '${WALLET}' '${CPU}' )
 | 
			
		||||
variable='variable_list'
 | 
			
		||||
 | 
			
		||||
text=$(cat $noso_nano)
 | 
			
		||||
while read line
 | 
			
		||||
do
 | 
			
		||||
  value=$(eval echo $line)  
 | 
			
		||||
  text=$(sed "s/$line/$value/g" <<< "$text")
 | 
			
		||||
done < "$variable"
 | 
			
		||||
echo "$text" > output.sh
 | 
			
		||||
# text=$(cat $noso_nano)
 | 
			
		||||
# while read line
 | 
			
		||||
# do
 | 
			
		||||
#   value=$(eval echo $line)  
 | 
			
		||||
#   text=$(sed "s/$line/$value/g" <<< "$text")
 | 
			
		||||
# done < "$variable"
 | 
			
		||||
# echo "$text" > output.sh
 | 
			
		||||
 | 
			
		||||
echo $variable
 | 
			
		||||
		Reference in New Issue
	
	Block a user