/boot needs to get mounted first

This commit is contained in:
alex-nitrokey 2020-06-24 17:36:53 +02:00
parent aab2c327e3
commit 92b1826537
No known key found for this signature in database
GPG Key ID: A8853020E8EE6FBA

View File

@ -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=""