mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
- 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
11 lines
397 B
Text
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';
|