diff --git a/plugins/other/hddtemp_smartctl b/plugins/other/hddtemp_smartctl index 9c73668f..f5c61f7f 100755 --- a/plugins/other/hddtemp_smartctl +++ b/plugins/other/hddtemp_smartctl @@ -139,7 +139,7 @@ if ($^O eq 'linux') { # without probing them. } elsif ($^O eq 'freebsd') { opendir(DEV, '/dev'); - @drives = grep /^ad[0-9]+$/, readdir DEV; + @drives = grep /^(a?da|ad)[0-9]+$/, readdir DEV; closedir(DEV); } elsif ($^O eq 'solaris') { @drives = map { s@.*/@@ ; $_ } glob '/dev/rdsk/c*t*d*s2';