diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2008-09-03 13:27:50 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2008-09-03 13:27:50 +0000 |
commit | f44b4d9a88ec8deffd5e85371d98557992f5b545 (patch) | |
tree | 0b83e9160d1b6ef6c1266cdab4c9d7a991be545e /sysutils/munin-node/files/patch-hddtemp_smartctl.in | |
parent | f7327189521406c820379f265eb8ab5066877ec0 (diff) |
Notes
Diffstat (limited to 'sysutils/munin-node/files/patch-hddtemp_smartctl.in')
-rw-r--r-- | sysutils/munin-node/files/patch-hddtemp_smartctl.in | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sysutils/munin-node/files/patch-hddtemp_smartctl.in b/sysutils/munin-node/files/patch-hddtemp_smartctl.in index 47c38d0eab7b..e69de29bb2d1 100644 --- a/sysutils/munin-node/files/patch-hddtemp_smartctl.in +++ b/sysutils/munin-node/files/patch-hddtemp_smartctl.in @@ -1,13 +0,0 @@ ---- node/node.d/hddtemp_smartctl.in.orig 2006-10-17 14:27:35.000000000 +0200 -+++ node/node.d/hddtemp_smartctl.in 2007-10-04 09:29:43.931425624 +0200 -@@ -109,6 +109,10 @@ - @drives = grep /hd[a-z]/, readdir IDE; - closedir(IDE); - } -+} elsif ($^O eq 'freebsd') { -+ opendir(DEV, '/dev'); -+ @drives = grep /^ad[0-9]+$/, readdir DEV; -+ closedir(DEV); - } elsif ($^O eq 'solaris') { - @drives = map { s@.*/@@ ; $_ } glob '/dev/rdsk/c*t*d*s2'; - } |