From deb9cd00405963f61c6477697235146594f55ba3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 18 Dec 2000 13:26:20 +0000 Subject: new grub (with nice tftpserver :) --- tools/i386/netboot/make_boot_network | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tools/i386/netboot/make_boot_network') diff --git a/tools/i386/netboot/make_boot_network b/tools/i386/netboot/make_boot_network index 282c96c4c..a19065aca 100755 --- a/tools/i386/netboot/make_boot_network +++ b/tools/i386/netboot/make_boot_network @@ -1,13 +1,15 @@ #!/bin/sh -[ -z "$1" ] && { echo "usage: $0 (eg: 3c59x)" ; exit 1; } +type=$1 +#[ -z "$type" ] && { echo "usage: $0 (eg: 3c59x)" ; exit 1; } +[ -z "$type" ] && type=3c90x ks="../../../install/ks.cfg" [ -e $ks ] || { echo "missing file $ks, create one based on $ks.default"; exit 1; } -ln -sf stage1.$1 stage1 -ln -sf stage2.$1 stage2 +ln -sf stage1.$type stage1 +ln -sf stage2.$type stage2 mformat a: mcopy {menu.lst,stage1,stage2} a: -- cgit v1.2.1