diff options
Diffstat (limited to 'net-mgmt/cacti88/files/patch-scripts__diskfree.pl')
| -rw-r--r-- | net-mgmt/cacti88/files/patch-scripts__diskfree.pl | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net-mgmt/cacti88/files/patch-scripts__diskfree.pl b/net-mgmt/cacti88/files/patch-scripts__diskfree.pl deleted file mode 100644 index 9e8517401141..000000000000 --- a/net-mgmt/cacti88/files/patch-scripts__diskfree.pl +++ /dev/null @@ -1,9 +0,0 @@ ---- scripts/diskfree.pl.orig 2017-06-01 00:09:48 UTC -+++ scripts/diskfree.pl -@@ -1,5 +1,5 @@ - #!/usr/local/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"; |
