Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[reboot] clear warm boot files when reboot is requested (#373)
* [reboot] clear warm boot files when reboot is requested Both warm/fast reboot are invoking /sbin/reboot directly. If user invoked 'reboot', one scenario could be that user tried to issue either fast or warm reboot and failed to complete. User then tries to recover the system with a cold reboot. In this scenario, particularly after warm-reboot request failed, we should remove db backup files, so that the system will come up and perform a cold recovery. Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [clean up] rename warm boot backup file config_db.json Signed-off-by: Ying Xie <ying.xie@microsoft.com>
- Loading branch information