diff --git a/scripts/tig_pool_master.sh b/scripts/tig_pool_master.sh index 78bcc73..5daa875 100755 --- a/scripts/tig_pool_master.sh +++ b/scripts/tig_pool_master.sh @@ -11,6 +11,15 @@ if [ "$#" -ne 18 ]; then usage fi + +# Check the number of processor threads +cpu_threads=$(grep -c ^processor /proc/cpuinfo) +if [ "$cpu_threads" -lt 24 ]; then + echo "Error: Your system has less than 24 threads ($cpu_threads detected). Installation aborted your not able to Mine on TIGPool." + exit 1 +fi + + # Initialize variables for parameters id_slave="" nom_slave=""