Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions not-supported/tpm2-unlock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ root_check
# Check if already installed
if is_this_installed clevis-luks || is_this_installed clevis-tpm2 || is_this_installed clevis-initramfs
then
msg_box "It seems like clevis-luks is already installed.\nThis script can unfortunately not run twice."
exit 1
msg_box "It seems like clevis-luks is already installed. We are trying to do the configuration again."
else
# Ask for installation
install_popup "$SCRIPT_NAME"
Expand Down Expand Up @@ -99,7 +98,7 @@ PASSWORD=$(input_box_flow "Please enter a new password that will secure your GRU
GRUB_PASS="$(echo -e "$PASSWORD\n$PASSWORD" | grub-mkpasswd-pbkdf2 | grep -oP 'grub\.pbkdf2\.sha512\.10000\..*')"
if [ -n "${PASSWORD##grub.pbkdf2.sha512.10000.}" ]
then
cat << GRUB_CONF >> /etc/grub.d/40_custom
cat << GRUB_CONF > /etc/grub.d/40_custom

# Password-protect GRUB
set superusers="grub"
Expand Down