Here-documents already do parameter expansion if EOF is unquoted, so no

need for the sed.
This commit is contained in:
Colin Watson 2004-07-10 01:34:44 +00:00
parent b2952ee6d4
commit 8ea83f4810
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ if [ -e boot$N/isolinux/f3.txt.with26 ];then
done
cp -a cdrom/2.6 $CDDIR/install/2.6
# Isolinux config file.
sed "s/\$KERNEL_PARAMS/$KERNEL_PARAMS/g" > boot$N/isolinux/isolinux.cfg <<EOF
cat > boot$N/isolinux/isolinux.cfg <<EOF
DEFAULT /install/vmlinuz APPEND $KERNEL_PARAMS vga=normal initrd=/install/initrd.gz ramdisk_size=10240 root=/dev/rd/0 init=/linuxrc devfs=mount,dall rw
LABEL linux
kernel /install/vmlinuz