diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:18 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:18 +0200 |
| commit | 403452b08b1d4d24bdb9f273fd7833ecb193007b (patch) | |
| tree | 3e333d0f2f1fbf89a394dfb1c536e0aa3ac231c6 /helpers/lh_binary_memtest | |
| parent | fdd30ecebff6c2f2f6965774d182d9210e6d46c4 (diff) | |
| download | vyos-live-build-403452b08b1d4d24bdb9f273fd7833ecb193007b.tar.gz vyos-live-build-403452b08b1d4d24bdb9f273fd7833ecb193007b.zip | |
Adding live-helper 1.0~a23-1.
Diffstat (limited to 'helpers/lh_binary_memtest')
| -rwxr-xr-x | helpers/lh_binary_memtest | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest index 28621f68a..298528538 100755 --- a/helpers/lh_binary_memtest +++ b/helpers/lh_binary_memtest @@ -30,6 +30,7 @@ Read_conffile config/bootstrap Read_conffile config/chroot Read_conffile config/binary Read_conffile config/source +Read_conffile "${LH_CONFIG}" Set_defaults if [ "${LH_MEMTEST}" = "disabled" ] @@ -60,11 +61,12 @@ fi if [ "${LH_CHROOT_BUILD}" = "enabled" ] then - if [ -f chroot/usr/sbin/grub ] && [ ! -d chroot/boot/grub ] + if [ -f chroot/usr/sbin/grub ] && [ ! -f chroot/boot/grub/menu.lst ] then GRUB="yes" mkdir -p chroot/boot/grub + touch chroot/boot/grub/menu.lst fi fi |
