mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Merge pull request #1598 from ioannidesalex/patch-42
NTP server modification
This commit is contained in:
commit
55f7598d69
1 changed files with 2 additions and 2 deletions
|
@ -678,9 +678,9 @@ echo "/usr/sbin/nologin" >> /etc/shells
|
|||
|
||||
# NTP Sync
|
||||
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