Update eMMC provisioning guide and scripts for reTerminal DM4 to remove auto-flash feature. Users must now manually choose Backup or Deploy in the dashboard after connecting the device. Adjusted documentation and trigger scripts accordingly.

This commit is contained in:
nearxos
2026-02-18 12:29:22 +02:00
parent 21fc0e8fd2
commit 864e082046
4 changed files with 22 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Called by udev when CM4 in boot mode is connected. Starts the flash job in the background
# so udev can return immediately. Install to /usr/local/bin/cm4-flash-trigger.sh
# Called by udev when CM4 in boot mode is connected. Starts the provisioning script in the
# background (rpiboot + wait for portal Backup/Deploy choice). Install to /usr/local/bin/cm4-flash-trigger.sh
FLASH_SCRIPT="${CM4_FLASH_SCRIPT:-/opt/cm4-provisioning/flash-emmc-on-connect.sh}"
exec systemd-run --no-block --unit=cm4-flash-once "$FLASH_SCRIPT"