On Fri, 2016-05-13 at 10:36 +0300, Roman Kagan wrote:
IMO deleting anything is a bad idea, in particular, because a
succefully
completed script may cause the following ones to fail.
Well, I guess most of the users won't be aware of it and scripts will
probably stay there for ever.
The whole point of scripts_done is to preserve all the steps but
move
them out of the way.
I think the only controversial item is whether to move them to
scripts_done on success only or regardless of the status: there are
pros
and cons either way.
The goal of moving the script to scripts_done BEFORE running was to
avoid running them twice if the system reboots in the middle of the
firstboot script.
--
Cedric