updated: remove old overlay init file

old-commit-hash: 2a2cfd6bb5
commatwo_master
Adeeb Shihadeh 5 years ago
parent 747ca1d354
commit 9bb39d1145
  1. 4
      selfdrive/updated.py

@ -324,6 +324,10 @@ def main():
wait_helper = WaitTimeHelper(proc) wait_helper = WaitTimeHelper(proc)
wait_helper.sleep(30) wait_helper.sleep(30)
overlay_init = Path(os.path.join(BASEDIR, ".overlay_init"))
if overlay_init.exists():
overlay_init.unlink()
first_run = True first_run = True
last_fetch_time = 0 last_fetch_time = 0
update_failed_count = 0 update_failed_count = 0

Loading…
Cancel
Save