Bugfix: tls time sources

This commit is contained in:
Bob Mottram 2015-12-07 09:28:51 +00:00
parent 61bb2e0400
commit 91e2b0a180
1 changed files with 2 additions and 2 deletions

View File

@ -6603,8 +6603,8 @@ function time_synchronisation {
apt-get -y remove ntpdate
echo '#!/bin/bash' > /usr/bin/updatedate
echo "TIMESOURCE='TLS_TIME_SOURCE1'" >> /usr/bin/updatedate
echo "TIMESOURCE2='TLS_TIME_SOURCE2'" >> /usr/bin/updatedate
echo "TIMESOURCE='${TLS_TIME_SOURCE1}'" >> /usr/bin/updatedate
echo "TIMESOURCE2='${TLS_TIME_SOURCE2}'" >> /usr/bin/updatedate
echo 'LOGFILE=/var/log/tlsdate.log' >> /usr/bin/updatedate
echo 'TIMEOUT=5' >> /usr/bin/updatedate
echo "EMAIL=$MY_EMAIL_ADDRESS" >> /usr/bin/updatedate