#!/bin/bash cpu=$(> /nas/share/brickman/logs/temp/cpu_temp.log gpu=$(vcgencmd measure_temp | cut -c 6-7 -) echo "GPU Temp: $gpu c $data" >> /nas/share/brickman/logs/temp/gpu_temp.log ssd=`sudo smartctl -d sat,12 --all /dev/sda | grep Temperature_Celsius | cut -c 87-89 - ` echo "SSD Temp: $ssd c $data" >> /nas/share/brickman/logs/temp/ssd_temp.log