We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b6d3d7 commit bf6bee2Copy full SHA for bf6bee2
scripts/extra_info.sh
@@ -4,8 +4,7 @@
4
echo "........................................IPs....................................."
5
echo "LAN IP: $(hostname -I|cut -d' ' -f1)"
6
echo "Public IP: $(curl -s4 ifconfig.co)"
7
-if [ ! "$(dpkg -l | ! grep -q "vcgencmd")" ]
8
-then
+if ! dpkg -l | grep -q vcgencmd ; then
9
echo "..................................\`vcgencmd stats\`.............................."
10
sudo -u$USER vcgencmd get_throttled
11
hex=$(sudo -u$USER vcgencmd get_throttled | cut -d'x' -f2)
0 commit comments