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.
This commit is contained in:
parent
9d026b5d48
commit
926295b6be
1 changed files with 4 additions and 1 deletions
|
|
@ -193,7 +193,10 @@ wipe)
|
||||||
sudo sync
|
sudo sync
|
||||||
sudo sh -c ": > $MAP"
|
sudo sh -c ": > $MAP"
|
||||||
echo "removed $n container(s); index and small containers kept; map cleared"
|
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
|
fprintd-list user 2>&1 | tail -1
|
||||||
echo "after:"; sizes
|
echo "after:"; sizes
|
||||||
echo; echo "next: fplearn.sh enrol <finger>" ;;
|
echo; echo "next: fplearn.sh enrol <finger>" ;;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue