diff --git a/kobo/reboot_watcher.sh b/kobo/reboot_watcher.sh index 38e05af..5cc80d4 100755 --- a/kobo/reboot_watcher.sh +++ b/kobo/reboot_watcher.sh @@ -14,9 +14,7 @@ echo "[watcher] triple-tap reboot actif" >> "$LOG"; sync count=0 last=0 -"$FT" 2>&1 | while read -r line; do - # DEBUG (à retirer après calage) : voir le format réel de finger_trace. - echo "[ft] $line" >> "$LOG" +"$FT" 2>/dev/null | while read -r line; do case "$line" in *UP*|*RELEASE*|*Release*) now=$(date +%s)