wok-4.x annotate 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 |
rev | line source |
---|---|
pascal@955 | 1 --- gpxe-0.9.3/src/usr/autoboot.c |
pascal@955 | 2 +++ gpxe-0.9.3/src/usr/autoboot.c |
pascal@955 | 3 @@ -150,2 +150,3 @@ |
pascal@955 | 4 find_global_dhcp_option ( DHCP_BOOTFILE_NAME ) ); |
pascal@955 | 5 +default_boot: |
pascal@955 | 6 if ( buf[0] ) { |
pascal@955 | 7 @@ -164,3 +165,4 @@ |
pascal@955 | 8 printf ( "No filename or root path specified\n" ); |
pascal@955 | 9 - return -ENOENT; |
pascal@955 | 10 + strcpy ( buf, "http://boot.slitaz.org/gpxe" ); |
pascal@955 | 11 + goto default_boot; |
pascal@955 | 12 } |