fix: diagnose.sh DB backup line shows literal $DB_PATH
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
+1
-1
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user