diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-04-15 18:41:33 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-04-15 18:41:33 +0000 |
commit | 2ed665eba1c976284327000e839f4c10c22a9655 (patch) | |
tree | 4569a1ef5e1e17fbd96eb1c7f322c0e6db04c9fe /net-mgmt/cacti/files | |
parent | 5a40c8ac793e9eef57910923f70a3df4c8d20fa5 (diff) | |
download | ports-2ed665eba1c976284327000e839f4c10c22a9655.tar.gz ports-2ed665eba1c976284327000e839f4c10c22a9655.zip |
Notes
Diffstat (limited to 'net-mgmt/cacti/files')
-rw-r--r-- | net-mgmt/cacti/files/patch-scripts-diskfree.pl (renamed from net-mgmt/cacti/files/patch-fix_df_output) | 0 | ||||
-rw-r--r-- | net-mgmt/cacti/files/patch-scripts-ping.pl | 10 | ||||
-rw-r--r-- | net-mgmt/cacti/files/patch-scripts-query_unix_partitions.pl | 11 |
3 files changed, 21 insertions, 0 deletions
diff --git a/net-mgmt/cacti/files/patch-fix_df_output b/net-mgmt/cacti/files/patch-scripts-diskfree.pl index 8df567b2255f..8df567b2255f 100644 --- a/net-mgmt/cacti/files/patch-fix_df_output +++ b/net-mgmt/cacti/files/patch-scripts-diskfree.pl diff --git a/net-mgmt/cacti/files/patch-scripts-ping.pl b/net-mgmt/cacti/files/patch-scripts-ping.pl new file mode 100644 index 000000000000..9b42be1fc4e5 --- /dev/null +++ b/net-mgmt/cacti/files/patch-scripts-ping.pl @@ -0,0 +1,10 @@ +--- scripts/ping.pl.orig Sat Apr 15 22:26:44 2006 ++++ scripts/ping.pl Sat Apr 15 22:27:16 2006 +@@ -1,6 +1,6 @@ + #!/usr/bin/perl + +-open(PROCESS, "ping -c 1 $ARGV[0] | grep icmp_seq |"); ++open(PROCESS, "/sbin/ping -c 1 $ARGV[0] | grep icmp_seq |"); + $ping = <PROCESS>; + close(PROCESS); + $ping =~ m/(.*time=)(.*) (ms|usec)/; diff --git a/net-mgmt/cacti/files/patch-scripts-query_unix_partitions.pl b/net-mgmt/cacti/files/patch-scripts-query_unix_partitions.pl new file mode 100644 index 000000000000..9af889b0dae4 --- /dev/null +++ b/net-mgmt/cacti/files/patch-scripts-query_unix_partitions.pl @@ -0,0 +1,11 @@ +--- scripts/query_unix_partitions.pl.orig Sat Apr 15 22:25:55 2006 ++++ scripts/query_unix_partitions.pl Sat Apr 15 22:26:14 2006 +@@ -5,7 +5,7 @@ + exit; + } + +-open(DF, "/bin/df -P|"); ++open(DF, "/bin/df -k|"); + + while (<DF>) { + #/dev/hda2 20157744 18553884 579860 97% /var |