Don't use TLS time sync for mesh peers, which are typically not connected to the internet

This commit is contained in:
Bob Mottram 2015-08-22 20:34:03 +01:00
parent 2830727a98
commit 284afc76f8
1 changed files with 4 additions and 0 deletions

View File

@ -5714,6 +5714,10 @@ function time_synchronisation {
if grep -Fxq "time_synchronisation" $COMPLETION_FILE; then
return
fi
# mesh peers typically don't sync over the internet
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
return
fi
#apt-get -y install tlsdate
# building tlsdate from source is a workaround because of