wok-next view gpxe/stuff/default_boot.u @ rev 955

Add gPXE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 27 20:38:59 2008 +0000 (2008-06-27)
parents
children a28a18adeab4
line source
1 --- gpxe-0.9.3/src/usr/autoboot.c
2 +++ gpxe-0.9.3/src/usr/autoboot.c
3 @@ -150,2 +150,3 @@
4 find_global_dhcp_option ( DHCP_BOOTFILE_NAME ) );
5 +default_boot:
6 if ( buf[0] ) {
7 @@ -164,3 +165,4 @@
8 printf ( "No filename or root path specified\n" );
9 - return -ENOENT;
10 + strcpy ( buf, "http://boot.slitaz.org/gpxe" );
11 + goto default_boot;
12 }