change-time: Add .sh

We're trying to move all shell scripts to including '.sh' to
differentiate them from functions.  While it's not 100% consistent yet,
do it for new scripts.

Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
Jonathon Hall 2024-08-06 09:49:49 -04:00
parent 653542870d
commit 6eab9ddd90
No known key found for this signature in database
GPG Key ID: 1E9C3CA91AE25114
2 changed files with 2 additions and 2 deletions

View File

@ -452,7 +452,7 @@ show_options_menu()
show_tpm_totp_hotp_options_menu
;;
h )
change-time
change-time.sh
;;
u )
prompt_update_checksums
@ -548,7 +548,7 @@ prompt_totp_mismatch()
TRACE_FUNC
if (whiptail_warning --title "TOTP/HOTP code mismatched" \
--yesno "TOTP/HOTP code mismatches could indicate either TPM tampering or clock drift.\n\nHere, we will manually set system time to see if TOTP code mismatch was because of time drift.\n\nAlternatively you could sync time from network automatically with 'network-init-recovery' helper from Recovery shell\n " 0 80) then
change-time
change-time.sh
fi
}