diff options
Diffstat (limited to 'plugins-scripts/check_netdns.pl')
| -rwxr-xr-x | plugins-scripts/check_netdns.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins-scripts/check_netdns.pl b/plugins-scripts/check_netdns.pl index 65ad7beb..6872b932 100755 --- a/plugins-scripts/check_netdns.pl +++ b/plugins-scripts/check_netdns.pl | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | # Copyright 2000, virCIO, LLP | 6 | # Copyright 2000, virCIO, LLP |
| 7 | # | 7 | # |
| 8 | # $Log$ | 8 | # $Log$ |
| 9 | # Revision 1.3 2002/05/07 05:35:49 sghosh | ||
| 10 | # 2nd fix for ePN | ||
| 11 | # | ||
| 9 | # Revision 1.2 2002/05/02 16:43:29 sghosh | 12 | # Revision 1.2 2002/05/02 16:43:29 sghosh |
| 10 | # fix for embedded perl | 13 | # fix for embedded perl |
| 11 | # | 14 | # |
| @@ -25,10 +28,11 @@ | |||
| 25 | 28 | ||
| 26 | use Getopt::Long; | 29 | use Getopt::Long; |
| 27 | use Net::DNS; | 30 | use Net::DNS; |
| 28 | use Findbin; | 31 | use lib utils.pm; |
| 29 | use lib "$FindBin::Bin"; | ||
| 30 | use utils ; | 32 | use utils ; |
| 31 | 33 | ||
| 34 | my $PROGNAME = "check_netdns"; | ||
| 35 | |||
| 32 | Getopt::Long::Configure(`bundling`); | 36 | Getopt::Long::Configure(`bundling`); |
| 33 | GetOptions("V" => $opt_V, "version" => $opt_V, | 37 | GetOptions("V" => $opt_V, "version" => $opt_V, |
| 34 | "h" => $opt_h, "help" => $opt_h, | 38 | "h" => $opt_h, "help" => $opt_h, |
