Votre Nom il y a 1 an
Parent
commit
4c7fd17674
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      options/chia.sh

+ 6 - 1
options/chia.sh

@@ -147,6 +147,7 @@ git submodule init
 git submodule update
 ./make_devel.sh
 cd build
+if [ -f go.sh ];then rm go.sh ;fi
 cat <<'EOF'>> go.sh
 #!/bin/bash
 POOL=a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a
@@ -156,6 +157,7 @@ OUT=/media/Partage/Plots/
 EOF
 chmod +x go.sh
 
+if [ -f nft.sh ];then rm nft.sh; fi
 cat <<'EOF'>> nft.sh
 #!/bin/bash
 POOL=a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a
@@ -181,6 +183,7 @@ cd build
 sed -i "s/FatalIf( cfg.compressionLevel >/\/\/FatalIf( cfg.compressionLevel/g" /home/wareck/chia/bladebit/src/main.cpp
 cmake ..
 make -j6
+if [ -f cuda.sh ]; then rm cuda.sh ;fi
 cat <<'EOF'>> cuda.sh
 #!/bin/bash
 ./bladebit_cuda \
@@ -188,6 +191,7 @@ cat <<'EOF'>> cuda.sh
 -f 8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373 \
 diskplot -t1 /nvme0/plotting/ -t2 /nvme1/plotting/ /farm/farm0/Plots/
 EOF
+if [ -f flex.sh ]; then rm flex.sh ;fi
 cat <<'EOF'>> flex.sh
 #!/bin/bash
 CRT=xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk
@@ -195,6 +199,7 @@ FRM=8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7c
 OUT=/media/Partage/Plots-nft/
 ./bladebit -f $FRM -c $CRT diskplot --cache 100G -t1 /nvme1/plotting/ -t2 /nvme1/plotting/ $OUT
 EOF
+if [ -f cuda_h9.sh ]; then rm cuda_h9.sh ;fi
 cat <<'EOF'>> cuda_h9.sh
 #!/bin/bash
 POOL=a99e72c49c5ed39bf793caab9e074a80dd61011a859e975842874aab47b783f9ce84282febe2ca275c0930149b67990a
@@ -232,7 +237,7 @@ chia_plot_sink -p 1447 /farm/farm0/Plots-nft/ /farm/farm1/Plots-nft/ /farm/farm2
 EOF
 chmod +x distrib_chia.sh
 sudo mv distrib_chia.sh /usr/local/bin/
-
+if [ -f go.sh ];then rm go.sh;fi
 cat <<'EOF'>> ~/go.sh
 #!/bin/bash
 CRT=xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk