Browse Source

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

Bob Mottram 9 years ago
parent
commit
284afc76f8
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone View File

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