mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 05:28:08 +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
|
fi
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
boot_option=
|
||||||
|
|
||||||
# Verify the user's TPM secret
|
# Verify the user's TPM secret
|
||||||
echo "TPM TOTP:"
|
echo "TPM TOTP:"
|
||||||
if ! unsealtotp.sh ; then
|
if ! unsealtotp.sh ; then
|
||||||
@ -37,7 +39,6 @@ while true; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Secret decrypted ok, so prompt for a next step
|
# Secret decrypted ok, so prompt for a next step
|
||||||
|
|
||||||
read \
|
read \
|
||||||
-t "$CONFIG_TIMEOUT" \
|
-t "$CONFIG_TIMEOUT" \
|
||||||
-p "Enter for normal boot or 'r' for recovery shell: " \
|
-p "Enter for normal boot or 'r' for recovery shell: " \
|
||||||
|
Loading…
Reference in New Issue
Block a user