Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEMP=$(cat /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp3_input)
- if [ $TEMP -ge 1 ]
- then
- if [ $TEMP -le 6000 ]
- then
- echo "is less than or equal to 6000"
- elif [ $TEMP -ge 4500 ]
- then
- echo "greater or equal to 4500"
- else
- echo "Something went wrong?"
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement