Commit 3777e7c2 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

temporary disabled smartctl

parent 4577b4c8
......@@ -18,11 +18,13 @@ if ($cmd=="t"){
$t_10389 = intval($t_10389)/1000;
}
$t_sda = exec("smartctl -A /dev/sda | egrep ^194 | awk '{print $10}'");
//$t_sda = exec("smartctl -A /dev/sda | egrep ^194 | awk '{print $10}'");
$t_sda = "";
if ($t_sda=="") $t_sda = "-";
else $t_sda = intval($t_sda);
$t_sdb = exec("smartctl -A /dev/sdb | egrep ^194 | awk '{print $10}'");
//$t_sdb = exec("smartctl -A /dev/sdb | egrep ^194 | awk '{print $10}'");
$t_sdb = "";
if ($t_sdb=="") $t_sdb = "-";
else $t_sdb = intval($t_sdb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment