mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
#707 shutdown info on LCD
This commit is contained in:
@@ -24,6 +24,9 @@ fi
|
|||||||
if [ "${upsStatus}" = "ONBATT" ]; then
|
if [ "${upsStatus}" = "ONBATT" ]; then
|
||||||
upsInfo="${color_red}${upsBattery}"
|
upsInfo="${color_red}${upsBattery}"
|
||||||
fi
|
fi
|
||||||
|
if [ "${upsStatus}" = "SHUTTING DOWN" ]; then
|
||||||
|
upsInfo="${color_red}DOWN"
|
||||||
|
fi
|
||||||
|
|
||||||
# check hostname
|
# check hostname
|
||||||
if [ ${#hostname} -eq 0 ]; then hostname="raspiblitz"; fi
|
if [ ${#hostname} -eq 0 ]; then hostname="raspiblitz"; fi
|
||||||
|
Reference in New Issue
Block a user