aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cacti/files/patch-scripts-diskfree.pl
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/cacti/files/patch-scripts-diskfree.pl')
-rw-r--r--net-mgmt/cacti/files/patch-scripts-diskfree.pl9
1 files changed, 0 insertions, 9 deletions
diff --git a/net-mgmt/cacti/files/patch-scripts-diskfree.pl b/net-mgmt/cacti/files/patch-scripts-diskfree.pl
deleted file mode 100644
index eeea6e5c971c..000000000000
--- a/net-mgmt/cacti/files/patch-scripts-diskfree.pl
+++ /dev/null
@@ -1,9 +0,0 @@
---- cacti-0.8.6j/scripts/diskfree.pl.orig Wed Jan 4 06:08:30 2006
-+++ cacti-0.8.6j/scripts/diskfree.pl Fri Jan 6 00:16:58 2006
-@@ -1,5 +1,5 @@
- #!/usr/bin/perl
--open(PROCESS,"df --block-size=1024 -P $ARGV[0] | grep -v Filesystem |");
-+open(PROCESS,"df -k $ARGV[0] | grep -v Filesystem |");
- foreach (<PROCESS>) {
- if ($_ =~ /($ARGV[0])(.* )(.*[0-9])(.* )(.*[0-9])(.* )(.*[0-9])(.* )(.*[0-9])%(.* )/) {
- print "megabytes:$7 percent:$9";