From 284afc76f868279be876c2293b1a526655a47ac6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 22 Aug 2015 20:34:03 +0100 Subject: [PATCH] Don't use TLS time sync for mesh peers, which are typically not connected to the internet --- src/freedombone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone b/src/freedombone index 36a02a51..1833c85c 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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