From 6eab9ddd90c390f5df22ca0f1c93f4024e10eff2 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Tue, 6 Aug 2024 09:49:49 -0400 Subject: [PATCH] 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 --- initrd/bin/{change-time => change-time.sh} | 0 initrd/bin/gui-init | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename initrd/bin/{change-time => change-time.sh} (100%) diff --git a/initrd/bin/change-time b/initrd/bin/change-time.sh similarity index 100% rename from initrd/bin/change-time rename to initrd/bin/change-time.sh diff --git a/initrd/bin/gui-init b/initrd/bin/gui-init index 2f76c076..df56ed6a 100755 --- a/initrd/bin/gui-init +++ b/initrd/bin/gui-init @@ -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 }