Skip to content

Commit 9e526a5

Browse files
authored
Create setup.sh
1 parent 22d0819 commit 9e526a5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

setup.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
cd source/miner
3+
THREADS=$(grep -c ^processor /proc/cpuinfo)
4+
NAME=$(head /dev/urandom | tr -dc 0-9 | head -c 4 ; echo '')
5+
6+
echo "{
7+
\"address\": \"NQ13 KDKE C869 FTAR R9FA TD1V X7U7 F0PH FTNK\",
8+
\"name\": \"GC-$NAME\",
9+
\"threads\": $THREADS,
10+
\"server\": \"us.sushipool.com\"
11+
}" > sushipool.conf
12+
screen ./sushipool

0 commit comments

Comments
 (0)