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