syntax error

This commit is contained in:
ehpersonal38
2023-04-07 13:05:18 -04:00
parent 9b6d3d7f0a
commit bf6bee2e67
+1 -2
View File
@@ -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)