You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--menu "This menu lets you change settings for the current BIOS session.\n\nAll changes will revert after a reboot,\n\nunless you also save them to the running BIOS." 0 80 10 \
19
19
'b'' Change the /boot device' \
20
20
's'' Save the current configuration to the running BIOS' \
--menu "Select the firmware function to perform\n\nRetaining settings copies existing settings to the new firmware:\n* Keeps your GPG keyring\n* Keeps changes to the default /boot device\n\nErasing settings uses the new firmware as-is:\n* Erases any existing GPG keyring\n* Restores firmware to default factory settings\n* Clears out /boot signatures\n\nIf you are just updating your firmware, you probably want to retain\nyour settings." 0 80 10 \
12
12
'f'' Flash the firmware with a new ROM, retain settings' \
13
13
'c'' Flash the firmware with a new ROM, erase settings' \
Copy file name to clipboardExpand all lines: initrd/bin/gui-init
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ mount_boot()
22
22
23
23
# CONFIG_BOOT_DEV doesn't exist or couldn't be mounted, so give user options
24
24
BG_COLOR_MAIN_MENU=$BG_COLOR_ERROR
25
-
whiptail $BG_COLOR_ERROR --clear --title "ERROR: No Bootable OS Found!" \
25
+
whiptail $BG_COLOR_ERROR --title "ERROR: No Bootable OS Found!" \
26
26
--menu " No bootable OS was found on the default boot device $CONFIG_BOOT_DEV.
27
27
How would you like to proceed?" 0 80 4 \
28
28
'b'' Select a new boot device' \
@@ -66,7 +66,7 @@ verify_global_hashes()
66
66
if ( cd /boot && sha256sum -c "$TMP_HASH_FILE"> /tmp/hash_output ) then
67
67
return 0
68
68
elif [ !-f$TMP_HASH_FILE ];then
69
-
if (whiptail $BG_COLOR_ERROR --clear --title 'ERROR: Missing Hash File!' \
69
+
if (whiptail $BG_COLOR_ERROR --title 'ERROR: Missing Hash File!' \
70
70
--yesno "The file containing hashes for /boot is missing!\n\nIf you are setting this system up for the first time, select Yes to update\nyour list of checksums.\n\nOtherwise this could indicate a compromise and you should select No to\nreturn to the main menu.\n\nWould you like to update your checksums now?" 0 80) then
71
71
if update_checksums ;then
72
72
BG_COLOR_MAIN_MENU=""
@@ -114,7 +114,7 @@ verify_global_hashes()
114
114
fi
115
115
fi
116
116
117
-
if (whiptail $BG_COLOR_ERROR --clear --title 'ERROR: Boot Hash Mismatch' --yesno "$TEXT" 0 80) then
117
+
if (whiptail $BG_COLOR_ERROR --title 'ERROR: Boot Hash Mismatch' --yesno "$TEXT" 0 80) then
--menu "ERROR: Heads couldn't find any GPG keys in your keyring.\n\nIf this is the first time the system has booted,\nyou should add a public GPG key to the BIOS now.\n\nIf you just reflashed a new BIOS, you'll need to add at least one\npublic key to the keyring.\n\nIf you have not just reflashed your BIOS, THIS COULD INDICATE TAMPERING!\n\nHow would you like to proceed?" 0 80 4 \
whiptail $BG_COLOR_ERROR --clear --title 'ERROR: No TPM Detected' --msgbox "This device does not have a TPM.\n\nPress OK to return to the Main Menu" 0 80
496
+
whiptail $BG_COLOR_ERROR --title 'ERROR: No TPM Detected' --msgbox "This device does not have a TPM.\n\nPress OK to return to the Main Menu" 0 80
whiptail $CONFIG_WARNING_BG_COLOR --clear --title 'WARNING: Please insert your HOTP enabled USB Security dongle' --msgbox "Your HOTP enabled USB Security dongle was not detected.\n\nPlease remove it and insert it again." 0 80
301
+
whiptail $CONFIG_WARNING_BG_COLOR --title 'WARNING: Please insert your HOTP enabled USB Security dongle' --msgbox "Your HOTP enabled USB Security dongle was not detected.\n\nPlease remove it and insert it again." 0 80
302
302
fi
303
303
# Don't output HOTP codes to screen, so as to make replay attacks harder
0 commit comments