summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/admin/src/scripts')
-rwxr-xr-xldap/admin/src/scripts/repl-monitor.pl.in (renamed from ldap/admin/src/scripts/repl-monitor.pl)4
1 files changed, 3 insertions, 1 deletions
diff --git a/ldap/admin/src/scripts/repl-monitor.pl b/ldap/admin/src/scripts/repl-monitor.pl.in
index f5709e91..4ae9bf4b 100755
--- a/ldap/admin/src/scripts/repl-monitor.pl
+++ b/ldap/admin/src/scripts/repl-monitor.pl.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!@perlexec@
# BEGIN COPYRIGHT BLOCK
# This Program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
@@ -156,6 +156,8 @@
# If using this script standalone, be sure to set the shared lib path and
# the path to the perldap modules.
+use lib qw(@perlpath@);
+
$usage = "\nusage: $0 -f configuration-file [-h host] [-p port] [-r] [-u refresh-url] [-t refresh-interval]\n\nor : $0 -v\n";
use Getopt::Std; # parse command line arguments