connectbox-pi icon indicating copy to clipboard operation
connectbox-pi copied to clipboard

Allow out-of-band reset to defaults

Open edwinsteele opened this issue 8 years ago • 1 comments

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:

  1. yank power
  2. unplug USB stick and create magic file (say, _reset.txt in the root of the USB stick),
  3. re-insert USB stick
  4. re-attach power

edwinsteele avatar Jan 07 '17 20:01 edwinsteele

Good idea we will consider implementation.

kirkdwilson avatar May 25 '23 15:05 kirkdwilson