mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
NTP fix
This commit is contained in:
parent
54cae504f0
commit
ce96bc9388
1 changed files with 2 additions and 2 deletions
|
@ -678,9 +678,9 @@ echo "/usr/sbin/nologin" >> /etc/shells
|
|||
|
||||
# NTP Synchronization
|
||||
echo '#!/bin/sh' > /etc/cron.daily/ntpdate
|
||||
echo "$(which ntpdate) -s pool.ntp.org" >> /etc/cron.daily/ntpdate
|
||||
echo "$(which ntpdate) -s ntp.ubuntu.com" >> /etc/cron.daily/ntpdate
|
||||
chmod 775 /etc/cron.daily/ntpdate
|
||||
ntpdate -s pool.ntp.org
|
||||
ntpdate -s ntp.ubuntu.com
|
||||
|
||||
# Setup rssh
|
||||
if [ -z "$(grep /usr/bin/rssh /etc/shells)" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue