From 068f0b35c52d5d192ef044a519fcb8fa7679d31d Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: Fri, 17 Aug 2012 13:45:19 +0100 Subject: [PATCH 07/10] Fix the use lib statement and the external ntp commands paths in check-ntp.pl --- plugins-scripts/utils.pm.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in index 37cd62c..626a5a9 100644 --- a/plugins-scripts/utils.pm.in +++ b/plugins-scripts/utils.pm.in @@ -22,6 +22,9 @@ $PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ; $PATH_TO_SMBCLIENT = "@PATH_TO_SMBCLIENT@" ; $PATH_TO_MAILQ = "@PATH_TO_MAILQ@"; $PATH_TO_QMAIL_QSTAT = "@PATH_TO_QMAIL_QSTAT@"; +# Hardcoded values (autotools patch will be provided to the uptream project) +$PATH_TO_NTPDATE = "/usr/sbin/ntpdate"; +$PATH_TO_NTPQ = "/usr/sbin/ntpq"; ## common variables $TIMEOUT = 15; -- 1.8.3.1