mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
UTC statment + menu order
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
a3b9a1d9e9
commit
07a6b7819a
@ -4,6 +4,8 @@
|
||||
clear
|
||||
|
||||
echo -e -n "Please enter the date and time you wish to set\n"
|
||||
echo -e -n "You need to set the time according to the UTC/GMT timezone please check https://time.is/UTC\n"
|
||||
|
||||
|
||||
get_date () {
|
||||
echo -e -n "enter the $1 please ($2-$3) (enter for $2)\n"
|
||||
|
@ -221,6 +221,7 @@ update_totp()
|
||||
If you have not just reflashed your BIOS, THIS COULD INDICATE TAMPERING!\n
|
||||
How would you like to proceed?" 0 80 4 \
|
||||
'g' ' Generate new HOTP/TOTP secret' \
|
||||
'h' ' Change system time' \
|
||||
'i' ' Ignore error and continue to main menu' \
|
||||
'p' ' Reset the TPM' \
|
||||
'x' ' Exit to recovery shell' \
|
||||
@ -234,6 +235,9 @@ update_totp()
|
||||
generate_totp_hotp && update_totp && BG_COLOR_MAIN_MENU="normal" && reseal_tpm_disk_decryption_key
|
||||
fi
|
||||
;;
|
||||
h )
|
||||
change-time
|
||||
;;
|
||||
i )
|
||||
skip_to_menu="true"
|
||||
return 1
|
||||
@ -430,6 +434,7 @@ show_options_menu()
|
||||
--menu "" 0 80 10 \
|
||||
'b' ' Boot Options -->' \
|
||||
't' ' TPM/TOTP/HOTP Options -->' \
|
||||
'h' ' Change system time' \
|
||||
'u' ' Update checksums and sign all files in /boot' \
|
||||
'c' ' Change configuration settings -->' \
|
||||
'f' ' Flash/Update the BIOS -->' \
|
||||
@ -438,7 +443,6 @@ show_options_menu()
|
||||
'C' ' Reencrypt LUKS container -->' \
|
||||
'P' ' Change LUKS Disk Recovery Key passphrase ->' \
|
||||
'R' ' Check/Update file hashes on root disk -->' \
|
||||
'h' ' Change system time' \
|
||||
'x' ' Exit to recovery shell' \
|
||||
'r' ' <-- Return to main menu' \
|
||||
2>/tmp/whiptail || recovery "GUI menu failed"
|
||||
@ -451,6 +455,9 @@ show_options_menu()
|
||||
t )
|
||||
show_tpm_totp_hotp_options_menu
|
||||
;;
|
||||
h )
|
||||
change-time
|
||||
;;
|
||||
u )
|
||||
prompt_update_checksums
|
||||
;;
|
||||
@ -477,9 +484,6 @@ show_options_menu()
|
||||
R )
|
||||
root-hashes-gui.sh
|
||||
;;
|
||||
h )
|
||||
change-time
|
||||
;;
|
||||
x )
|
||||
recovery "User requested recovery shell"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user