From 926295b6befb9507bdbd101c5bf70698c54e2563 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sat, 5 Sep 2026 02:07:26 +0200 Subject: [PATCH] fplearn.sh: a wipe leaves learning off too Same reason as enrol. A wipe is the start of a controlled sequence, and bringing the daemon back with learning enabled invites whatever verifies next to begin folding before anyone intended it. --- packaging/fplearn.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/fplearn.sh b/packaging/fplearn.sh index 3c1dec3..5bbf6c0 100755 --- a/packaging/fplearn.sh +++ b/packaging/fplearn.sh @@ -193,7 +193,10 @@ wipe) sudo sync sudo sh -c ": > $MAP" echo "removed $n container(s); index and small containers kept; map cleared" - restart "--learn=1" || exit 1 + # Off, like enrol: a wipe is the start of a controlled sequence, and coming + # back with learning on invites the next thing that verifies to start + # folding before anyone intended it. + restart "--learn=0" || exit 1 fprintd-list user 2>&1 | tail -1 echo "after:"; sizes echo; echo "next: fplearn.sh enrol " ;;