#!/bin/sh

smartctl -s on -d ata -a $1 | grep Temp | sed -re "s/.* +- +([0-9]+).*/\1/g"