install harddisc temperature monitoring

# preconfigure
debconf-set-selections <<\EOF
hddtemp hddtemp/daemon select false
EOF
 
# install
apt-get install -y hddtemp
 
# example: read temperature for first both devices
hddtemp /dev/sd{a,b}