Try using Google as a TLS time source

This commit is contained in:
Bob Mottram 2014-07-25 17:24:21 +01:00
parent 13666e5b3c
commit 12f80195dd
1 changed files with 1 additions and 1 deletions

View File

@ -1018,7 +1018,7 @@ Add the following:
#+BEGIN_SRC: bash #+BEGIN_SRC: bash
#!/bin/bash #!/bin/bash
TIMESOURCE=www.ptb.de TIMESOURCE=google.com
LOGFILE=/var/log/tlsdate.log LOGFILE=/var/log/tlsdate.log
DATE_BEFORE=$(date) DATE_BEFORE=$(date)
YEAR_BEFORE=$(echo $DATE_BEFORE | awk -F ' ' '{print $6}') YEAR_BEFORE=$(echo $DATE_BEFORE | awk -F ' ' '{print $6}')