diff --git a/tools/boot/lenny/boot-x86 b/tools/boot/lenny/boot-x86 index 96e271d4..b49ace39 100644 --- a/tools/boot/lenny/boot-x86 +++ b/tools/boot/lenny/boot-x86 @@ -272,7 +272,7 @@ if [ "$THISTYPE" = "isolinux" ]; then if [ -n "$KERNEL_PARAMS" ]; then # Substitute custom kernel params into the isolinux config # file(s) - sed -i "/[[:space:]]\+append .*--/ s|append|append $KERNEL_PARAMS|" boot$N/$ISOLINUXDIR/*.cfg + sed -i "/^[[:space:]]\+append .*--/ s|append|append $KERNEL_PARAMS|" boot$N/$ISOLINUXDIR/*.cfg fi else