pastekodi: include get_throttled output on RPi

This will quickly tell us if the RPi is suffering from undervoltage
or overtemperature issues.

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2021-02-28 19:31:55 +01:00
parent fa9da755a1
commit 0cab4ec777

View File

@ -65,6 +65,7 @@ fi
fi fi
if [ "${LIBREELEC_PROJECT}" = "RPi" ]; then if [ "${LIBREELEC_PROJECT}" = "RPi" ]; then
echo "RPi Hardware Revision: $(vcgencmd otp_dump | grep 30: | cut -d: -f2)" echo "RPi Hardware Revision: $(vcgencmd otp_dump | grep 30: | cut -d: -f2)"
echo "RPi $(vcgencmd get_throttled)"
fi fi
cat_file "${LOG_FILE}" cat_file "${LOG_FILE}"