missing nvme is only offroad alert

albatross
Adeeb Shihadeh 2021-05-17 16:12:31 -07:00
parent def141571c
commit 2cf7ee8ced
1 changed files with 1 additions and 3 deletions

View File

@ -351,9 +351,7 @@ def thermald_thread():
set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", (not startup_conditions["device_temp_good"]))
if TICI:
nvme_path = Path("/data/media")
startup_conditions["nvme_mounted"] = nvme_path.is_mount()
set_offroad_alert_if_changed("Offroad_NvmeMissing", (not startup_conditions["nvme_mounted"]))
set_offroad_alert_if_changed("Offroad_NvmeMissing", (not Path("/data/media").is_mount()))
# Handle offroad/onroad transition
should_start = all(startup_conditions.values())