From 03ae5d2a98d2356584ca88df2cde396d575164f4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 23 Aug 2001 12:19:07 +0000 Subject: as we now have menu.lst.example, i remove automatic.para for more flexibility --- tools/i386/netboot/make_boot_network | 5 ++--- tools/i386/netboot/menu.lst.example | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'tools/i386') diff --git a/tools/i386/netboot/make_boot_network b/tools/i386/netboot/make_boot_network index b9739c486..f75092cd7 100755 --- a/tools/i386/netboot/make_boot_network +++ b/tools/i386/netboot/make_boot_network @@ -4,15 +4,14 @@ type=$1 #[ -z "$type" ] && { echo "usage: $0 (eg: 3c59x)" ; exit 1; } [ -z "$type" ] && type=3c90x -[ -e automatic.para ] || { echo "missing file automatic.para, create one based on automatic.para.default"; exit 1; } +[ -e menu.lst ] || { echo "missing file menu.lst, create one based on menu.lst.example"; exit 1; } ln -sf stage1.$type stage1 ln -sf stage2.$type stage2 mformat a: mcopy {stage1,stage2} a: -perl -pe 'chomp; $_ .= " " . `cat automatic.para` if /^kernel/; $_ .= "\n"' menu.lst | mcopy - a:menu.lst - +mcopy menu.lst a:menu.lst ./grub --batch <