From 3c8664b1f50befc2c4bcb0b56522130a3f8182fb Mon Sep 17 00:00:00 2001 From: maride Date: Sun, 4 Mar 2018 15:18:32 +0100 Subject: [PATCH] Move from integer to string check --- steps/50-configure.step | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steps/50-configure.step b/steps/50-configure.step index e7f2fd4..859ab2d 100755 --- a/steps/50-configure.step +++ b/steps/50-configure.step @@ -26,7 +26,7 @@ else arch-chroot /mnt grub-install --target=i386-pc /dev/*da fi -if [ "$cryptroot" -eq 1 ]; then +if [ "$cryptroot" == "yes" ]; then echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value ${blockdevice}2 | head -n 1`:cryptroot'" > /mnt/etc/default/grub fi