Commit 472e5f2 1 parent 6eeb21d commit 472e5f2 Copy full SHA for 472e5f2
File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ root_check
22
22
# Check if already installed
23
23
if is_this_installed clevis-luks || is_this_installed clevis-tpm2 || is_this_installed clevis-initramfs
24
24
then
25
- msg_box " It seems like clevis-luks is already installed.\nThis script can unfortunately not run twice."
26
- exit 1
25
+ msg_box " It seems like clevis-luks is already installed. We are trying to do the configuration again."
27
26
else
28
27
# Ask for installation
29
28
install_popup " $SCRIPT_NAME "
@@ -99,7 +98,7 @@ PASSWORD=$(input_box_flow "Please enter a new password that will secure your GRU
99
98
GRUB_PASS=" $( echo -e " $PASSWORD \n$PASSWORD " | grub-mkpasswd-pbkdf2 | grep -oP ' grub\.pbkdf2\.sha512\.10000\..*' ) "
100
99
if [ -n " ${PASSWORD## grub.pbkdf2.sha512.10000.} " ]
101
100
then
102
- cat << GRUB_CONF >> /etc/grub.d/40_custom
101
+ cat << GRUB_CONF > /etc/grub.d/40_custom
103
102
104
103
# Password-protect GRUB
105
104
set superusers="grub"
You can’t perform that action at this time.
0 commit comments