diff --git a/system/hardware/tici/hardware.py b/system/hardware/tici/hardware.py index def8267f4089bd..3409888b9deb1a 100644 --- a/system/hardware/tici/hardware.py +++ b/system/hardware/tici/hardware.py @@ -505,8 +505,8 @@ def configure_modem(self): pass # eSIM prime - if sim_id.startswith('8985235'): - dest = "/etc/NetworkManager/system-connections/esim.nmconnection" + dest = "/etc/NetworkManager/system-connections/esim.nmconnection" + if sim_id.startswith('8985235') and not os.path.exists(dest): with open(Path(__file__).parent/'esim.nmconnection') as f, tempfile.NamedTemporaryFile(mode='w') as tf: dat = f.read() dat = dat.replace("sim-id=", f"sim-id={sim_id}")