mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +00:00
/boot needs to get mounted first
This commit is contained in:
parent
aab2c327e3
commit
92b1826537
@ -3,12 +3,6 @@
|
||||
|
||||
CONFIG_BOOT_GUI_MENU_NAME='Heads Boot Menu'
|
||||
|
||||
if [ -r /boot/kexec_hotp_key ]; then
|
||||
CONFIG_HOTPKEY_BRANDING="$(cat /boot/kexec_hotp_key)"
|
||||
else
|
||||
CONFIG_HOTPKEY_BRANDING="HOTP USB security dongle"
|
||||
fi
|
||||
|
||||
. /etc/functions
|
||||
. /tmp/config
|
||||
|
||||
@ -146,6 +140,13 @@ else
|
||||
mount_boot
|
||||
fi
|
||||
|
||||
# Use stored HOTP key branding
|
||||
if [ -r /boot/kexec_hotp_key ]; then
|
||||
CONFIG_HOTPKEY_BRANDING="$(cat /boot/kexec_hotp_key)"
|
||||
else
|
||||
CONFIG_HOTPKEY_BRANDING="HOTP USB Security Dongle"
|
||||
fi
|
||||
|
||||
last_half=X
|
||||
while true; do
|
||||
MAIN_MENU_OPTIONS=""
|
||||
|
Loading…
Reference in New Issue
Block a user