mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
fixed ntpdate path
This commit is contained in:
parent
92f780cd21
commit
35b56dda50
1 changed files with 2 additions and 2 deletions
|
@ -293,9 +293,9 @@ rm -f /etc/cron.daily/00webalizer
|
||||||
|
|
||||||
# NTP Synchronization
|
# NTP Synchronization
|
||||||
echo '#!/bin/sh' > /etc/cron.daily/ntpdate
|
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
|
chmod 775 /etc/cron.daily/ntpdate
|
||||||
/sbin/ntpdate -s pool.ntp.org
|
ntpdate -s pool.ntp.org
|
||||||
|
|
||||||
# Vesta Environment
|
# Vesta Environment
|
||||||
echo "export VESTA='/usr/local/vesta'" > /etc/profile.d/vesta.sh
|
echo "export VESTA='/usr/local/vesta'" > /etc/profile.d/vesta.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue