typo 2>&1 2&>1

This commit is contained in:
olli 2023-07-17 15:53:58 +02:00
parent 664e69df32
commit 734d08af73

View File

@ -239,7 +239,7 @@
create: yes create: yes
marker: "# {mark} ANSIBLE MANAGED BLOCK" marker: "# {mark} ANSIBLE MANAGED BLOCK"
block: | block: |
if which vcgencmd >/dev/null 2&>1 if which vcgencmd >/dev/null 2>&1
then then
temp=$(vcgencmd measure_temp | grep ^temp= | cut -d"=" -f2 | cut -d. -f1) temp=$(vcgencmd measure_temp | grep ^temp= | cut -d"=" -f2 | cut -d. -f1)
if [ $temp -gt 75 ] if [ $temp -gt 75 ]