Update tig_pool_master.sh

This commit is contained in:
xnico31 2025-01-10 11:32:16 +01:00
parent c84b46897c
commit 3af5327c73

View File

@ -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=""