|
|
@ -75,8 +75,25 @@ fi |
|
|
|
echo "" |
|
|
|
|
|
|
|
echo "*** HARDWARE TEST RESULTS ***" |
|
|
|
echo "UndervoltageReports in Logs: ${undervoltageReports}" |
|
|
|
showImproveInfo=0 |
|
|
|
if [ ${#undervoltageReports} -gt 0 ]; then |
|
|
|
echo "UndervoltageReports in Logs: ${undervoltageReports}" |
|
|
|
if [ ${undervoltageReports} -gt 0 ]; then |
|
|
|
showImproveInfo=1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
if [ -f /home/admin/stresstest.report ]; then |
|
|
|
sudo cat /home/admin/stresstest.report |
|
|
|
source /home/admin/stresstest.report |
|
|
|
if [ ${powerWARN} -gt 0 ]; then |
|
|
|
showImproveInfo=1 |
|
|
|
fi |
|
|
|
if [ ${tempWARN} -gt 0 ]; then |
|
|
|
showImproveInfo=1 |
|
|
|
fi |
|
|
|
fi |
|
|
|
if [ ${showImproveInfo} -gt 0 ]; then |
|
|
|
echo "IMPORTANT: There are some hardware issues with your setup." |
|
|
|
echo "'Run Hardwaretest' in main menu or: sudo /home/admin/05hardwareTest.sh" |
|
|
|
fi |
|
|
|
echo "" |