summaryrefslogtreecommitdiff
path: root/sysutils/munin-node/files/patch-netstat.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/munin-node/files/patch-netstat.in')
-rw-r--r--sysutils/munin-node/files/patch-netstat.in18
1 files changed, 0 insertions, 18 deletions
diff --git a/sysutils/munin-node/files/patch-netstat.in b/sysutils/munin-node/files/patch-netstat.in
deleted file mode 100644
index aa19165937ce..000000000000
--- a/sysutils/munin-node/files/patch-netstat.in
+++ /dev/null
@@ -1,18 +0,0 @@
---- node/node.d.freebsd/netstat.in.orig 2006-11-02 15:15:57.000000000 +0100
-+++ node/node.d.freebsd/netstat.in 2008-08-17 14:01:14.000000000 +0200
-@@ -45,7 +45,7 @@
-
-
- if [ "$1" = "autoconf" ]; then
-- if ( /bin/netstat -s 2>/dev/null >/dev/null ); then
-+ if ( /usr/bin/netstat -s 2>/dev/null >/dev/null ); then
- echo yes
- exit 0
- else
-@@ -96,5 +96,5 @@
- exit 0
- fi
-
--/bin/netstat -s | awk '/connection requests/ { print "active.value " $1 } /connection accepts/ { print "passive.value " $1 } /bad connection/ { print "failed.value " $1 } /reset/ { print "resets.value " $1 } /connections established/ { print "established.value " $1 }'
-+/usr/bin/netstat -s | awk '/connection requests/ { print "active.value " $1 } /connection accepts/ { print "passive.value " $1 } /bad connection/ { print "failed.value " $1 } /reset/ { print "resets.value " $1 } /connections established/ { print "established.value " $1 }'
-