A live bird collage card for your Home Assistant dashboard.
fix check for vcgencmd
frederikcafe17224172
diff --git a/scripts/extra_info.sh b/scripts/extra_info.shindex 9c176a95..921d4570 100755--- a/scripts/extra_info.sh+++ b/scripts/extra_info.sh@@ -4,7 +4,7 @@echo "........................................IPs....................................."echo "LAN IP: $(hostname -I|cut -d' ' -f1)"echo "Public IP: $(curl -s4 ifconfig.co)"-if ! dpkg -l | grep -q vcgencmd ; then+if which vcgencmd &>/dev/null ; thenecho "..................................\`vcgencmd stats\`.............................."sudo -u$USER vcgencmd get_throttledhex=$(sudo -u$USER vcgencmd get_throttled | cut -d'x' -f2)