ports/sysutils/munin-node/files/patch-plugins__node.d__hddtemp_smartctl.in
Mathieu Arnold 7cfb172ecf - Add missing dependency on www/p5-libwww [1]
- Fix fail2ban's path [2] (while there, make plugins.conf PREFIX safe)
- Fix multiping plugin [3] (while there, regenerate patches)
- Add a forgotten run dep on Java.

PR:		192341 [1]
Submitted by:	fbsd@shoggothmedia.com [1]
PR:		179549 [2]
Submitted by:	fabian@bug.ch [2]
PR:		192332 [3]
Submitted by:	fbsd@shoggothmedia.com [3]
Sponsored by:	Absolight
2014-09-03 07:28:40 +00:00

11 lines
397 B
Text

--- plugins/node.d/hddtemp_smartctl.in.orig 2014-04-22 19:29:32 UTC
+++ plugins/node.d/hddtemp_smartctl.in
@@ -162,7 +162,7 @@
} elsif ($^O eq 'freebsd') {
opendir(DEV, '/dev');
- @drives = grep /^ad[0-9]+$/, readdir DEV;
+ @drives = grep /^ad[0-9]+$|^ada[0-9]+$/, readdir DEV;
closedir(DEV);
} elsif ($^O eq 'solaris') {
@drives = map { s@.*/@@ ; $_ } glob '/dev/rdsk/c*t*d*s2';