diff options
author | Daniel Baumann <daniel@debian.org> | 2009-12-13 21:17:45 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:03 +0100 |
commit | 701b5affd403d9a25df311fc422dd33eb4526c34 (patch) | |
tree | 7e7cc9f57ceb0d3700ee13541944efb044ae9d60 /helpers/lh_binary_grub | |
parent | 32930b4a6a14374d2895a4e9247fdc192a91124b (diff) | |
download | vyos-live-build-701b5affd403d9a25df311fc422dd33eb4526c34.tar.gz vyos-live-build-701b5affd403d9a25df311fc422dd33eb4526c34.zip |
For consistency, using true|false instead of enabled|disabled in configuration options.
Diffstat (limited to 'helpers/lh_binary_grub')
-rwxr-xr-x | helpers/lh_binary_grub | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub index b2ccfea43..35fa43d43 100755 --- a/helpers/lh_binary_grub +++ b/helpers/lh_binary_grub @@ -157,7 +157,7 @@ mkdir -p "${DESTDIR_LIVE}" # Setting boot parameters case "${LH_ENCRYPTION}" in - ""|disabled) + ""|false) ;; *) LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} encryption=${LH_ENCRYPTION}" @@ -206,7 +206,7 @@ then exit 1 fi -if [ "${LH_EXPOSED_ROOT}" != "disabled" ] +if [ "${LH_EXPOSED_ROOT}" != "false" ] then LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} exposedroot" fi @@ -237,7 +237,7 @@ done LINUX_LIVE="$(/bin/echo ${LINUX_LIVE} | sed -e 's|binary||g' -e 's|//|/|g')" # Assembling debian-installer configuration -if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ] +if [ "${LH_DEBIAN_INSTALLER}" != "false" ] then LINUX_LIVE="title\t\tLive:\nroot\n\n${LINUX_LIVE}" LINUX_INSTALL="title\t\tInstaller:\nroot" @@ -285,7 +285,7 @@ case ${LH_BINARY_IMAGES} in ;; esac -if [ "${LH_CHROOT_BUILD}" = "disabled" ] +if [ "${LH_CHROOT_BUILD}" = "false" ] then FILES="$(echo ${FILES} | sed -e 's|chroot||g')" fi |