Quellcode durchsuchen

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

Bob Mottram vor 9 Jahren
Ursprung
Commit
284afc76f8
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone Datei anzeigen

@@ -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