connectbox-pi
connectbox-pi copied to clipboard
Allow out-of-band reset to defaults
If someone is locked out of the admin UI, there’s no way to get back in.
We need to allow triggering of a reset-to-defaults action if a particular file is present on the USB stick. The file should be automatically removed after the reset-to-defaults action. For ease of implementation, and to avoid having a periodic task, this action should only happen at boot time. i.e. one workflow would be:
- yank power
- unplug USB stick and create magic file (say,
_reset.txt
in the root of the USB stick), - re-insert USB stick
- re-attach power
Good idea we will consider implementation.