Skip to content

Commit 35b56dd

Browse files
committed
fixed ntpdate path
1 parent 92f780c commit 35b56dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/vst-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ rm -f /etc/cron.daily/00webalizer
293293

294294
# NTP Synchronization
295295
echo '#!/bin/sh' > /etc/cron.daily/ntpdate
296-
echo '/sbin/ntpdate -s pool.ntp.org' >> /etc/cron.daily/ntpdate
296+
echo "$(which ntpdate) -s pool.ntp.org" >> /etc/cron.daily/ntpdate
297297
chmod 775 /etc/cron.daily/ntpdate
298-
/sbin/ntpdate -s pool.ntp.org
298+
ntpdate -s pool.ntp.org
299299

300300
# Vesta Environment
301301
echo "export VESTA='/usr/local/vesta'" > /etc/profile.d/vesta.sh

0 commit comments

Comments
 (0)