Completion file

This commit is contained in:
Bob Mottram 2015-12-07 09:54:31 +00:00
parent 47506d8488
commit 47e3b22f1e
1 changed files with 1 additions and 0 deletions

View File

@ -6619,6 +6619,7 @@ function time_synchronisation {
echo '#!/bin/bash' > /usr/bin/updatedate echo '#!/bin/bash' > /usr/bin/updatedate
echo "TIMESOURCE='${TLS_TIME_SOURCE1}'" >> /usr/bin/updatedate echo "TIMESOURCE='${TLS_TIME_SOURCE1}'" >> /usr/bin/updatedate
echo "TIMESOURCE2='${TLS_TIME_SOURCE2}'" >> /usr/bin/updatedate echo "TIMESOURCE2='${TLS_TIME_SOURCE2}'" >> /usr/bin/updatedate
echo "COMPLETION_FILE=$COMPLETION_FILE" >> /usr/bin/updatedate
echo 'LOGFILE=/var/log/tlsdate.log' >> /usr/bin/updatedate echo 'LOGFILE=/var/log/tlsdate.log' >> /usr/bin/updatedate
echo 'TIMEOUT=5' >> /usr/bin/updatedate echo 'TIMEOUT=5' >> /usr/bin/updatedate
echo 'if grep -q "Admin user" $COMPLETION_FILE; then' >> /usr/bin/updatedate echo 'if grep -q "Admin user" $COMPLETION_FILE; then' >> /usr/bin/updatedate