Only install memtest in lh_binary_syslinux if enabled.

This commit is contained in:
Maximilian Gass 2008-09-25 17:07:35 +02:00 committed by Daniel Baumann
parent a5368e634d
commit 0c8232307d
1 changed files with 5 additions and 1 deletions

View File

@ -488,7 +488,11 @@ if [ "binary/${INITFS}" != "${KERNEL_PATH}" ]
then
mv binary/${INITFS}/vmlinuz* ${KERNEL_PATH}
mv binary/${INITFS}/initrd* ${KERNEL_PATH}
mv binary/${INITFS}/memtest ${KERNEL_PATH}
if [ "${LH_MEMTEST}" != "disabled" ] && [ "${LH_MEMTEST}" != "none" ]
then
mv binary/${INITFS}/memtest ${KERNEL_PATH}
fi
fi
# Default entries