aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gen_configkernel.sh')
-rw-r--r--gen_configkernel.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen_configkernel.sh b/gen_configkernel.sh
index 929169d0..19139b37 100644
--- a/gen_configkernel.sh
+++ b/gen_configkernel.sh
@@ -95,8 +95,8 @@ config_kernel() {
# Force this on if we are a 2.4 kernel or less
# Force this on if we are using bootsplash
# This is required for initrd support
- # Initramfs dont require this
- if [ "${PAT}" -le '4' -o "${CMD_BOOTSPLASH}" = '1' ]
+ # Initramfs doesn't require this
+ if [ "${KERN_24}" -eq '1' -o "${CMD_BOOTSPLASH}" = '1' ]
then
# Make sure Ext2 support is on...
sed -i ${KERNEL_DIR}/.config -e 's/#\? \?CONFIG_EXT2_FS[ =].*/CONFIG_EXT2_FS=y/g'