Browse Source

let pi user read stresstest report

master
Christian Rotzoll 6 years ago
parent
commit
3ac6911849
  1. 1
      home.admin/00infoBlitz.sh
  2. 1
      home.admin/config.scripts/blitz.stresstest.sh

1
home.admin/00infoBlitz.sh

@ -295,6 +295,7 @@ ${color_yellow}${ln_publicColor}${ln_external}${color_red}
"load average:${load##up*, }" "${temp}" \
"${hdd}" "${sync_percentage}"
source /home/admin/stresstest.report 2>/dev/null
if [ ${#undervoltageReports} -gt 0 ] && [ "${undervoltageReports}" != "0" ]; then
echo "${undervoltageReports} undervoltage reports found - run 'Hardware Test' in main menu"
elif [ ${#powerFAIL} -gt 0 ] && [ ${powerFAIL} -gt 0 ]; then

1
home.admin/config.scripts/blitz.stresstest.sh

@ -96,4 +96,5 @@ else
echo "tempFAIL=${tempFAIL}" >>${filenameForReport}
echo "tempWARN=${tempWARN}" >>${filenameForReport}
echo "tempMAX='${tempMAX} centiGrad'" >>${filenameForReport}
sudo chmod 744 ${filenameForReport}
fi

Loading…
Cancel
Save