diff options
Diffstat (limited to 'net-mgmt/cacti/files/patch-scripts__diskfree.pl')
-rw-r--r-- | net-mgmt/cacti/files/patch-scripts__diskfree.pl | 7 |
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 8f83817deec..9d0465e31c5 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])%(.* )/) { |