From 59b706878734be4864994e1eef99a2899055fe61 Mon Sep 17 00:00:00 2001
From: Christian Rotzoll <christian@geektank.de>
Date: Wed, 10 Apr 2019 02:45:37 +0100
Subject: [PATCH] #474 run stresstest on every startup

---
 home.admin/_bootstrap.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh
index b3157bf..48a078c 100644
--- a/home.admin/_bootstrap.sh
+++ b/home.admin/_bootstrap.sh
@@ -426,5 +426,12 @@ if [ ${loaded} -gt 0 ]; then
   sed -i "s/^chain=.*/chain=main/g" ${infoFile}
 fi
 
+################################
+# STRESSTEST HARDWARE
+################################
+
+# generate stresstest report on every startup (in case hardware has changed)
+sudo /home/admin/config.scripts/blitz.stresstest.sh /home/admin/stresstest.report
+
 echo "DONE BOOTSTRAP" >> $logFile
 exit 0
\ No newline at end of file