fix: diagnose.sh DB backup line shows literal $DB_PATH

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Mathieu Moran
2026-08-10 05:31:50 -04:00
co-authored by Copilot
parent 437434b972
commit d96a971f15
+1 -1
View File
@@ -357,7 +357,7 @@ info "Force OBD_PROTOCOL=6: sudo systemctl edit $SERVICE"
info " (add: Environment=OBD_PROTOCOL=6 then restart)" info " (add: Environment=OBD_PROTOCOL=6 then restart)"
info "Skip voltage check: sudo systemctl edit $SERVICE" info "Skip voltage check: sudo systemctl edit $SERVICE"
info " (add: Environment=OBD_SKIP_VOLTAGE_CHECK=1 then restart)" info " (add: Environment=OBD_SKIP_VOLTAGE_CHECK=1 then restart)"
info "DB backup: cp $DB_PATH ${DB_PATH}.bak.\$(date +%Y%m%d_%H%M%S)" info "DB backup: cp \$DB_PATH \${DB_PATH}.bak.\$(date +%Y%m%d_%H%M%S)"
info "Recompute trips: curl http://localhost:5000/api/trips/refresh" info "Recompute trips: curl http://localhost:5000/api/trips/refresh"
info "Check USB devices: lsusb && ls /dev/ttyUSB*" info "Check USB devices: lsusb && ls /dev/ttyUSB*"
info "Check serial port: ls -la /dev/serial0" info "Check serial port: ls -la /dev/serial0"