updated: remove old overlay init file

pull/2248/head
Adeeb Shihadeh 5 years ago
parent 9060d3c87b
commit 2a2cfd6bb5
  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