aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cacti/files/patch-scripts__diskfree.pl
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2014-08-15 18:11:34 +0000
committerKurt Jaeger <pi@FreeBSD.org>2014-08-15 18:11:34 +0000
commitdbb402ee5853b69be77d9642d0f07370ab41df82 (patch)
tree04678015d72a810dc0a825ea35b59b3a595c8bea /net-mgmt/cacti/files/patch-scripts__diskfree.pl
parentf84d85f72cadef8b3daf377d6c7c7e696b352550 (diff)
downloadports-dbb402ee5853b69be77d9642d0f07370ab41df82.tar.gz
ports-dbb402ee5853b69be77d9642d0f07370ab41df82.zip
Notes
Diffstat (limited to 'net-mgmt/cacti/files/patch-scripts__diskfree.pl')
-rw-r--r--net-mgmt/cacti/files/patch-scripts__diskfree.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/net-mgmt/cacti/files/patch-scripts__diskfree.pl b/net-mgmt/cacti/files/patch-scripts__diskfree.pl
index 8f83817deec6..9d0465e31c57 100644
--- a/net-mgmt/cacti/files/patch-scripts__diskfree.pl
+++ b/net-mgmt/cacti/files/patch-scripts__diskfree.pl
@@ -1,9 +1,8 @@
---- ./scripts/diskfree.pl.orig 2013-08-06 19:31:19.000000000 -0700
-+++ ./scripts/diskfree.pl 2014-08-11 17:34:23.000000000 -0700
+--- ./scripts/diskfree.pl.orig 2014-08-15 15:39:51.000000000 +0200
++++ ./scripts/diskfree.pl 2014-08-15 15:40:16.000000000 +0200
@@ -1,5 +1,5 @@
--#!/usr/bin/perl
+ #!/usr/bin/perl
-open(PROCESS,"df --block-size=1024 -P $ARGV[0] | grep -v Filesystem |");
-+#!/usr/local/bin/perl
+open(PROCESS,"df -k $ARGV[0] | grep -v Filesystem |");
foreach (<PROCESS>) {
if ($_ =~ /($ARGV[0])(.* )(.*[0-9])(.* )(.*[0-9])(.* )(.*[0-9])(.* )(.*[0-9])%(.* )/) {