From ff001b3605150942cdc861fc1f360bb46c55c272 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 6 Aug 2009 17:45:12 -0400 Subject: Change rc file to check_postgresrc, per suggestion on mailing list from Guillaume Lelarge --- check_postgres.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'check_postgres.pl') diff --git a/check_postgres.pl b/check_postgres.pl index 9390ac62e..5d0998126 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -579,14 +579,14 @@ $opt{timeout} = 30; ## Format of these files is simply name=val my $rcfile; -if (-e '.checkpostgresrc') { - $rcfile = '.checkpostgresrc'; +if (-e '.check_postgresrc') { + $rcfile = '.check_postgresrc'; } -elsif (-e "$ENV{HOME}/.checkpostgresrc") { - $rcfile = "$ENV{HOME}/.checkpostgresrc"; +elsif (-e "$ENV{HOME}/.check_postgresrc") { + $rcfile = "$ENV{HOME}/.check_postgresrc"; } -elsif (-e '/etc/checkpostgresrc') { - $rcfile = '/etc/checkpostgresrc'; +elsif (-e '/etc/check_postgresrc') { + $rcfile = '/etc/check_postgresrc'; } if (defined $rcfile) { open my $rc, '<', $rcfile or die qq{Could not open "$rcfile": $!\n}; @@ -6504,7 +6504,7 @@ and C checks. The following programs are tried, in order, to gra information from the web: GET, wget, fetch, curl, lynx, links. To force the use of just one (and thus remove the overhead of trying all the others until one of those works), enter one of the names as the argument to get_method. For example, a BSD box might enter -the folling line in their C<.checkpostgresrc> file: +the folling line in their C<.check_postgresrc> file: get_method=fetch -- cgit v1.2.3