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_memtest | |
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_memtest')
-rwxr-xr-x | helpers/lh_binary_memtest | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest index 98a3be517..581ec9a1f 100755 --- a/helpers/lh_binary_memtest +++ b/helpers/lh_binary_memtest @@ -23,7 +23,7 @@ Arguments "${@}" Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source Set_defaults -if [ "${LH_BINARY_IMAGES}" = "virtual-hdd" ] || [ "${LH_MEMTEST}" = "disabled" ] || [ "${LH_MEMTEST}" = "none" ] +if [ "${LH_BINARY_IMAGES}" = "virtual-hdd" ] || [ "${LH_MEMTEST}" = "false" ] || [ "${LH_MEMTEST}" = "none" ] then exit 0 fi @@ -48,7 +48,7 @@ then exit 0 fi -if [ "${LH_CHROOT_BUILD}" = "enabled" ] +if [ "${LH_CHROOT_BUILD}" = "true" ] then if [ -f chroot/usr/sbin/grub ] && [ ! -f chroot/boot/grub/menu.lst ] @@ -95,11 +95,11 @@ mkdir -p "${DESTDIR}" # Installing memtest case "${LH_CHROOT_BUILD}" in - enabled) + true) cp chroot/boot/${LH_MEMTEST}.bin "${DESTDIR}"/memtest ;; - disabled) + false) cp /boot/${LH_MEMTEST}.bin "${DESTDIR}"/memtest ;; esac |