From bf6bee2e6734b5696cdd21a28001c92d188fcf26 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Fri, 7 Apr 2023 13:05:18 -0400 Subject: [PATCH] syntax error --- scripts/extra_info.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/extra_info.sh b/scripts/extra_info.sh index e6a55d3..9c176a9 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)