diff options
Diffstat (limited to 'helpers/lh_binary_grub')
-rwxr-xr-x | helpers/lh_binary_grub | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub index 6915cf593..1e4376bbf 100755 --- a/helpers/lh_binary_grub +++ b/helpers/lh_binary_grub @@ -136,10 +136,13 @@ Check_multiarchitecture mkdir -p "${DESTDIR_LIVE}" # Setting boot parameters -if [ -n "${LH_ENCRYPTION}" ] -then - LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} encryption=${LH_ENCRYPTION}" -fi + +case "${LH_ENCRYPTION}" in + ""|disabled) + ;; + *) + LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} encryption=${LH_ENCRYPTION}" +esac if [ -n "${LH_USERNAME}" ] then |