summaryrefslogtreecommitdiffstats
path: root/tools/i386/netboot/make_boot_network
diff options
context:
space:
mode:
authorErwan Velu <erwan@mandriva.org>2002-02-13 17:21:07 +0000
committerErwan Velu <erwan@mandriva.org>2002-02-13 17:21:07 +0000
commitd01bc83159bdcdea52c227c5876b0c9b88f292d6 (patch)
treeec954f49114484222a2ddc252f3db2d8977926ed /tools/i386/netboot/make_boot_network
parent6a632e02e83fb944878ba955318f54deb2e2d56c (diff)
downloaddrakx-d01bc83159bdcdea52c227c5876b0c9b88f292d6.tar
drakx-d01bc83159bdcdea52c227c5876b0c9b88f292d6.tar.gz
drakx-d01bc83159bdcdea52c227c5876b0c9b88f292d6.tar.bz2
drakx-d01bc83159bdcdea52c227c5876b0c9b88f292d6.tar.xz
drakx-d01bc83159bdcdea52c227c5876b0c9b88f292d6.zip
updating grub in netboot
Diffstat (limited to 'tools/i386/netboot/make_boot_network')
-rwxr-xr-xtools/i386/netboot/make_boot_network6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/i386/netboot/make_boot_network b/tools/i386/netboot/make_boot_network
index f75092cd7..faa6fbeb5 100755
--- a/tools/i386/netboot/make_boot_network
+++ b/tools/i386/netboot/make_boot_network
@@ -1,13 +1,13 @@
#!/bin/sh
type=$1
-#[ -z "$type" ] && { echo "usage: $0 <network card type> (eg: 3c59x)" ; exit 1; }
+[ -z "$type" ] && { echo "usage: $0 <network card type> (eg: 3c59x)" ; exit 1; }
[ -z "$type" ] && type=3c90x
[ -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
+ln -sf ${type}/stage1 stage1
+ln -sf ${type}/stage2 stage2
mformat a:
mcopy {stage1,stage2} a: