flasher: revise autoboot handling