From 3fc1cdb68ca91294e28ac95c6726e8989ec7acc9 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Wed, 10 Apr 2019 15:57:41 +0100 Subject: [PATCH] a bit more tolerance before power fail --- home.admin/config.scripts/blitz.stresstest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/config.scripts/blitz.stresstest.sh b/home.admin/config.scripts/blitz.stresstest.sh index e75f31e..643cf02 100644 --- a/home.admin/config.scripts/blitz.stresstest.sh +++ b/home.admin/config.scripts/blitz.stresstest.sh @@ -55,7 +55,7 @@ for (( n=0; n<15; ++n )); do voltFloat=$(echo "${CoreVoltage/V/}*1000000" | bc) voltInt=${voltFloat/.*} #echo "V -> ${voltFloat}/${voltInt}" - if [ ${voltInt} -lt 1200100 ]; then + if [ ${voltInt} -lt 1200100 ] && [ ${powerWARN} -gt 0 ]; then powerFAIL=1 fi if [ ${voltInt} -lt 1250000 ]; then