tscream.sh - scripts - random scripts (HTM) git clone https://git.parazyd.org/scripts (DIR) Log (DIR) Files (DIR) Refs --- tscream.sh (276B) --- 1 #!/bin/zsh 2 3 POSIT=/sys/devices/platform/hdaps/position 4 5 while true; do 6 val1=`awk -F, '{print $1}' $POSIT | sed 's/(//'` 7 val2=`awk -F, '{print $2}' $POSIT | sed 's/)//'` 8 9 while [[ $val1 -lt '-370' && $val1 -gt '-375' ]]; do 10 echo "AHAHHAHAA!!" 11 done 12 done