fplearn.sh: enrol with learning off, so a fresh template starts clean
Enrolment does not use learning, but the enrol step left the daemon running with it enabled, so the brand-new template started folding the moment anything verified. That is precisely the contamination a fresh-template control is meant to exclude, and the control is the next thing being run. trend turns it back on.
This commit is contained in:
parent
ae2f537a40
commit
9d026b5d48
1 changed files with 5 additions and 1 deletions
|
|
@ -209,7 +209,11 @@ enrol)
|
|||
fi
|
||||
echo "=== enrol $F ==="
|
||||
echo "sizes before:"; sizes
|
||||
restart "--learn=1" || exit 1
|
||||
# Learning OFF for the enrolment itself. Enrolment does not use it, and a
|
||||
# daemon left with it on will start folding into the brand-new template the
|
||||
# moment anything verifies -- which is exactly the contamination a
|
||||
# fresh-template control exists to avoid. `trend` turns it back on.
|
||||
restart "--learn=0" || exit 1
|
||||
/tmp/fpenrol.sh "$F"
|
||||
echo; echo "sizes after the enrolment:"; sizes
|
||||
echo; echo "next: fplearn.sh base" ;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue