X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=src%2Fscripts%2Fmakegraphs;h=c2baee7ccaf4cad0dbbc94a7af1577903711ca9f;hp=817920ab734c0a416fd466afb892962a2fe1c422;hb=fc558271507c47ac73eaa2a2d1643cb8281fbe91;hpb=965f45472de3b6871347a682a393336ef839eaa2 diff --git a/src/scripts/makegraphs b/src/scripts/makegraphs index 817920ab73..c2baee7cca 100644 --- a/src/scripts/makegraphs +++ b/src/scripts/makegraphs @@ -83,7 +83,7 @@ sub updatehdddata{ if (!$standby){ $temp = 0; my $smart_output = ''; - system("$path_smartctl -iHA -d ata /dev/$disk > /var/run/smartctl_out_hddtemp-$disk"); + system("$path_smartctl -iHA /dev/$disk > /var/run/smartctl_out_hddtemp-$disk"); if ( -e "/var/run/smartctl_out_hddtemp-".$array[$#array] ){ my $hdd_output = `cat /var/run/smartctl_out_hddtemp-$array[$#array] | grep Temperature_`; my @t = split(/\s+/,$hdd_output);