mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-27 11:13:02 +02:00
Generate a boot menu, accessible with C-c during a short window, where a user can interactively select a custom boot source and/or trigger a factory reset of the device. With this in place, we should always be able to unbrick a device, as the image can be fed over the network, and local data can be ignored by opting in to a factory reset.
4 lines
52 B
Bash
4 lines
52 B
Bash
if button dev-mode; then
|
|
setenv dev_mode yes
|
|
fi
|