mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 09:48:56 +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'
|
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
|
. /etc/functions
|
||||||
. /tmp/config
|
. /tmp/config
|
||||||
|
|
||||||
@ -146,6 +140,13 @@ else
|
|||||||
mount_boot
|
mount_boot
|
||||||
fi
|
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
|
last_half=X
|
||||||
while true; do
|
while true; do
|
||||||
MAIN_MENU_OPTIONS=""
|
MAIN_MENU_OPTIONS=""
|
||||||
|
Loading…
Reference in New Issue
Block a user