This commit is contained in:
Alexandros Ioannides 2018-05-31 22:32:26 +03:00 committed by GitHub
commit ce96bc9388
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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