Skip to content

Commit bf6bee2

Browse files
committed
syntax error
1 parent 9b6d3d7 commit bf6bee2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/extra_info.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
echo "........................................IPs....................................."
55
echo "LAN IP: $(hostname -I|cut -d' ' -f1)"
66
echo "Public IP: $(curl -s4 ifconfig.co)"
7-
if [ ! "$(dpkg -l | ! grep -q "vcgencmd")" ]
8-
then
7+
if ! dpkg -l | grep -q vcgencmd ; then
98
echo "..................................\`vcgencmd stats\`.............................."
109
sudo -u$USER vcgencmd get_throttled
1110
hex=$(sudo -u$USER vcgencmd get_throttled | cut -d'x' -f2)

0 commit comments

Comments
 (0)