Don't use TLS time sync for mesh peers, which are typically not connected to the internet
This commit is contained in:
parent
2830727a98
commit
284afc76f8
|
@ -5714,6 +5714,10 @@ function time_synchronisation {
|
||||||
if grep -Fxq "time_synchronisation" $COMPLETION_FILE; then
|
if grep -Fxq "time_synchronisation" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
# mesh peers typically don't sync over the internet
|
||||||
|
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
#apt-get -y install tlsdate
|
#apt-get -y install tlsdate
|
||||||
|
|
||||||
# building tlsdate from source is a workaround because of
|
# building tlsdate from source is a workaround because of
|
||||||
|
|
Loading…
Reference in New Issue