wok view gpxe/stuff/url_list.u @ rev 20926
updated fltk, fltk-blocks, fltk-checkers, fltk-colbrowser, fltk-dev, fltk-editor, and fltk-sudoku (1.3.3 -> 1.3.4.2)
author | Hans-Günter Theisgen |
---|---|
date | Sat Mar 02 13:00:42 2019 +0100 (2019-03-02) |
parents | |
children |
line source
1 --- gpxe-0.9.3/src/usr/autoboot.c
2 +++ gpxe-0.9.3/src/usr/autoboot.c
3 @@ -229,9 +229,14 @@
4 set_url ( buf, forced_url.url );
5 }
6 while (1) {
7 - if ( buf[0] ) {
8 - printf ( "Booting from filename \"%s\"\n", buf );
9 - return boot_filename ( buf );
10 + while ( buf[0] ) {
11 + char *p;
12 + for ( p = buf; *p && *p != ','; p++ );
13 + if ( *p ) *p++ = 0;
14 + set_url ( buf, buf );
15 + printf ( "Booting from filename \"%s\"\n", buf );
16 + if ( boot_filename ( buf ) == 0 ) return 0;
17 + strcpy( buf, p );
18 }
20 /* No filename; try the root path */