From 35b56dda507e29b65631d0ca10450e8e0a6f2d55 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 12 Dec 2012 16:57:30 +0200 Subject: [PATCH] fixed ntpdate path --- install/vst-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/vst-install.sh b/install/vst-install.sh index 800bed13..f21d2b6a 100644 --- a/install/vst-install.sh +++ b/install/vst-install.sh @@ -293,9 +293,9 @@ rm -f /etc/cron.daily/00webalizer # NTP Synchronization echo '#!/bin/sh' > /etc/cron.daily/ntpdate -echo '/sbin/ntpdate -s pool.ntp.org' >> /etc/cron.daily/ntpdate +echo "$(which ntpdate) -s pool.ntp.org" >> /etc/cron.daily/ntpdate chmod 775 /etc/cron.daily/ntpdate -/sbin/ntpdate -s pool.ntp.org +ntpdate -s pool.ntp.org # Vesta Environment echo "export VESTA='/usr/local/vesta'" > /etc/profile.d/vesta.sh