mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
reset $boot_option between loops
This commit is contained in:
parent
93a0d7eee2
commit
d06ba0a851
@ -24,6 +24,8 @@ if [ -z "$CONFIG_TIMEOUT" ]; then
|
||||
fi
|
||||
|
||||
while true; do
|
||||
boot_option=
|
||||
|
||||
# Verify the user's TPM secret
|
||||
echo "TPM TOTP:"
|
||||
if ! unsealtotp.sh ; then
|
||||
@ -37,7 +39,6 @@ while true; do
|
||||
fi
|
||||
|
||||
# Secret decrypted ok, so prompt for a next step
|
||||
|
||||
read \
|
||||
-t "$CONFIG_TIMEOUT" \
|
||||
-p "Enter for normal boot or 'r' for recovery shell: " \
|
||||
|
Loading…
Reference in New Issue
Block a user