mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 12:10:33 +02:00
undervoltage warnings
This commit is contained in:
@@ -290,6 +290,6 @@ ${color_yellow}${ln_publicColor}${ln_external}
|
|||||||
"load average:${load##up*, }" "${temp}" \
|
"load average:${load##up*, }" "${temp}" \
|
||||||
"${hdd}" "${sync_percentage}"
|
"${hdd}" "${sync_percentage}"
|
||||||
|
|
||||||
if [ ${#undervoltageReports} -gt 0 ]; then
|
if [ ${#undervoltageReports} -gt 0 ] && [ "${undervoltageReports}" != "0" ]; then
|
||||||
echo "${countReports} undervoltage reports found in syslog"
|
echo "${undervoltageReports} undervoltage reports found in syslog"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user