From 5cb41866b310b11ef8917ad4e3d4117cc604950c Mon Sep 17 00:00:00 2001 From: James <91348155+FrogAi@users.noreply.github.com> Date: Mon, 1 Dec 2025 12:00:00 -0700 Subject: [PATCH] Disable internet connectivity checks --- system/hardware/hardwared.py | 2 +- system/updated/updated.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/system/hardware/hardwared.py b/system/hardware/hardwared.py index e997f9d79..8cc0f6f87 100755 --- a/system/hardware/hardwared.py +++ b/system/hardware/hardwared.py @@ -317,7 +317,7 @@ def hardware_thread(end_event, hw_queue) -> None: # **** starting logic **** - startup_conditions["up_to_date"] = params.get("Offroad_ConnectivityNeeded") is None or params.get_bool("DisableUpdates") or params.get_bool("SnoozeUpdate") + startup_conditions["up_to_date"] = True startup_conditions["no_excessive_actuation"] = params.get("Offroad_ExcessiveActuation") is None startup_conditions["not_uninstalling"] = not params.get_bool("DoUninstall") startup_conditions["accepted_terms"] = params.get("HasAcceptedTerms") == terms_version diff --git a/system/updated/updated.py b/system/updated/updated.py index b22553892..fd9d6d119 100644 --- a/system/updated/updated.py +++ b/system/updated/updated.py @@ -35,11 +35,11 @@ FINALIZED = os.path.join(STAGING_ROOT, "finalized") OVERLAY_INIT = Path(os.path.join(BASEDIR, ".overlay_init")) # do not allow to engage after this many hours onroad and this many routes -HOURS_NO_CONNECTIVITY_MAX = 27 -ROUTES_NO_CONNECTIVITY_MAX = 84 +HOURS_NO_CONNECTIVITY_MAX = 24 * 365 * 100 +ROUTES_NO_CONNECTIVITY_MAX = 9001 # send an offroad prompt after this many hours onroad and this many routes -HOURS_NO_CONNECTIVITY_PROMPT = 23 -ROUTES_NO_CONNECTIVITY_PROMPT = 80 +HOURS_NO_CONNECTIVITY_PROMPT = 24 * 365 * 100 +ROUTES_NO_CONNECTIVITY_PROMPT = 9001 class UserRequest: