Compile smartmontools
<?php
$URL="https://raw.githubusercontent.com/panticz/scripts/master/compile.smartmontools.sh";
echo "wget $URL -O - | bash -";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
?>
check smartctl version
smartctl -V
Links
http://sourceforge.net/projects/smartmontools/files/smartmontools/ - sorce code download
http://sourceforge.net/apps/trac/smartmontools/wiki/Download#Installprecompiledpackage