wok-6.x annotate gpxe/stuff/url_list.u @ rev 24720
updated libassuan and libassuan-dev (2.5.3 -> 2.5.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 08:04:34 2022 +0100 (2022-03-15) |
parents | |
children |
rev | line source |
---|---|
pascal@2338 | 1 --- gpxe-0.9.3/src/usr/autoboot.c |
pascal@2338 | 2 +++ gpxe-0.9.3/src/usr/autoboot.c |
pascal@2338 | 3 @@ -229,9 +229,14 @@ |
pascal@2338 | 4 set_url ( buf, forced_url.url ); |
pascal@2338 | 5 } |
pascal@2338 | 6 while (1) { |
pascal@2338 | 7 - if ( buf[0] ) { |
pascal@2338 | 8 - printf ( "Booting from filename \"%s\"\n", buf ); |
pascal@2338 | 9 - return boot_filename ( buf ); |
pascal@2338 | 10 + while ( buf[0] ) { |
pascal@2338 | 11 + char *p; |
pascal@2338 | 12 + for ( p = buf; *p && *p != ','; p++ ); |
pascal@2338 | 13 + if ( *p ) *p++ = 0; |
pascal@2338 | 14 + set_url ( buf, buf ); |
pascal@2338 | 15 + printf ( "Booting from filename \"%s\"\n", buf ); |
pascal@2338 | 16 + if ( boot_filename ( buf ) == 0 ) return 0; |
pascal@2338 | 17 + strcpy( buf, p ); |
pascal@2338 | 18 } |
pascal@2338 | 19 |
pascal@2338 | 20 /* No filename; try the root path */ |