Skip to content

A live bird collage card for your Home Assistant dashboard.

syntax error

ehpersonal38bf6bee2e6734
diff --git a/scripts/extra_info.sh b/scripts/extra_info.sh
index e6a55d3e..9c176a95 100755
--- a/scripts/extra_info.sh
+++ b/scripts/extra_info.sh
@@ -4,8 +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 ! dpkg -l | grep -q vcgencmd ; then
echo "..................................\`vcgencmd stats\`.............................."
sudo -u$USER vcgencmd get_throttled
hex=$(sudo -u$USER vcgencmd get_throttled | cut -d'x' -f2)