mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 21:17:55 +00:00
init: add early boot 'o' option to jump directly to oem-factory-reset for OEM provisioning of secret prior of shipping products, once OS is installed and after MRC training happened on first boot.
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
eee913d8d2
commit
504f0336ac
@ -168,6 +168,11 @@ if [ "$boot_option" = "r" ]; then
|
||||
recovery 'User requested recovery shell'
|
||||
# just in case...
|
||||
exit
|
||||
elif [ "$boot_option" = "o" ]; then
|
||||
# Launch OEM Factory Reset/Re-Ownership
|
||||
oem-factory-reset
|
||||
# just in case...
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "$CONFIG_BASIC" = "y" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user