reset $boot_option between loops

This commit is contained in:
Trammell Hudson 2017-04-01 22:25:16 -04:00
parent 93a0d7eee2
commit d06ba0a851
Failed to extract signature

View File

@ -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: " \