Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add way to clear rootfs overlay on boot
Related to #755 Add functionality to clear rootfs overlay on boot. * Add `clear_overlay` function to remove files in `/mnt/data/upper` and `/mnt/data/work`. * Add checks for a special file `clear-overlay` on USB, SD, and data partitions in `update_from_usb`, `update_from_sd`, and `update_from_data` functions. * Update `rescue_shell` function to call `clear_overlay` if the special file is found.
- Loading branch information