Add a facility for settings blocks to act as symbolic links to other settings blocks, and reimplement the "netX" virtual settings block using this facility. The primary advantage of this approach is that unscoped settings such as ${mac} and ${filename} will now reflect the settings obtained from the most recently opened network device: in most cases, this will mean the settings obtained from the most recent DHCP attempt. This should improve conformance to the principle of least astonishment. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
271 |
|
271 |
|
272 |
|
272 |
|
273 |
|
273 |
|
|
274 |
|
|
|
275 |
|
|
|
276 |
|
|
274 |
|
277 |
|
275 |
|
278 |
|
276 |
|
279 |
|
|
|
||
278 |
|
281 |
|
279 |
|
282 |
|
280 |
|
283 |
|
281 |
|
|
|
|
284 |
|
|
282 |
|
285 |
|
283 |
|
286 |
|
284 |
|
287 |
|
|
|
||
299 |
|
302 |
|
300 |
|
303 |
|
301 |
|
304 |
|
|
305 |
|
|
|
306 |
|
|
|
307 |
|
|
302 |
|
308 |
|
303 |
|
309 |
|
304 |
|
310 |
|
|
|
||
330 |
|
336 |
|
331 |
|
337 |
|
332 |
|
338 |
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
333 |
|
343 |
|
334 |
|
344 |
|
335 |
|
345 |
|
|
|
||
359 |
|
369 |
|
360 |
|
370 |
|
361 |
|
371 |
|
362 |
|
|
|
363 |
|
|
|
364 |
|
372 |
|
365 |
|
373 |
|
366 |
|
374 |
|
367 |
|
375 |
|
368 |
|
|
|
369 |
|
|
|
370 |
|
|
|
371 |
|
|
|
372 |
|
|
|
373 |
|
|
|
374 |
|
|
|
375 |
|
|
|
|
376 |
|
|
376 |
|
377 |
|
377 |
|
378 |
|
378 |
|
379 |
|
|
|
||
460 |
|
461 |
|
461 |
|
462 |
|
462 |
|
463 |
|
463 |
|
|
|
|
464 |
|
|
464 |
|
465 |
|
465 |
|
|
|
466 |
|
|
|
|
466 |
|
|
|
467 |
|
|
|
468 |
|
|
467 |
|
469 |
|
468 |
|
470 |
|
469 |
|
471 |
|
|
|
||
523 |
|
525 |
|
524 |
|
526 |
|
525 |
|
527 |
|
|
528 |
|
|
|
529 |
|
|
|
530 |
|
|
|
531 |
|
|
|
532 |
|
|
|
533 |
|
|
|
534 |
|
|
|
535 |
|
|
|
536 |
|
|
|
537 |
|
|
|
538 |
|
|
|
539 |
|
|
|
540 |
|
|
|
541 |
|
|
|
542 |
|
|
|
543 |
|
|
|
544 |
|
|
|
545 |
|
|
|
546 |
|
|
|
547 |
|
|
526 |
|
548 |
|
527 |
|
549 |
|
528 |
|
550 |
|
|
|
||
532 |
|
554 |
|
533 |
|
555 |
|
534 |
|
556 |
|
|
557 |
|
|
|
558 |
|
|
|
559 |
|
|
|
560 |
|
|
535 |
|
561 |
|
536 |
|
562 |
|
537 |
|
563 |
|
|
|
||
549 |
|
575 |
|
550 |
|
576 |
|
551 |
|
577 |
|
552 |
|
|
|
553 |
|
|
|
554 |
|
|
|
|
578 |
|
|
|
579 |
|
|
555 |
|
580 |
|
556 |
|
581 |
|
557 |
|
582 |
|
|
|
||
609 |
|
634 |
|
610 |
|
635 |
|
611 |
|
636 |
|
612 |
|
|
|
613 |
|
|
|
614 |
|
|
|
|
637 |
|
|
|
638 |
|
|
615 |
|
639 |
|
616 |
|
640 |
|
617 |
|
641 |
|
|
|
||
971 |
|
995 |
|
972 |
|
996 |
|
973 |
|
997 |
|
|
998 |
|
|
|
999 |
|
|
|
1000 |
|
|
|
1001 |
|
|
|
1002 |
|
|
974 |
|
1003 |
|
975 |
|
1004 |
|
976 |
|
1005 |
|
|
|
||
1230 |
|
1259 |
|
1231 |
|
1260 |
|
1232 |
|
1261 |
|
1233 |
|
|
|
1234 |
|
|
|
1235 |
|
|
|
|
1262 |
|
|
1236 |
|
1263 |
|
1237 |
|
1264 |
|
1238 |
|
1265 |
|
|
|
||
441 |
|
441 |
|
442 |
|
442 |
|
443 |
|
443 |
|
444 |
|
|
|
|
444 |
|
|
445 |
|
445 |
|
446 |
|
446 |
|
447 |
|
447 |
|
|
|
||
77 |
|
77 |
|
78 |
|
78 |
|
79 |
|
79 |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
80 |
|
86 |
|
81 |
|
87 |
|
82 |
|
88 |
|
|
|
||
248 |
|
254 |
|
249 |
|
255 |
|
250 |
|
256 |
|
|
257 |
|
|
251 |
|
258 |
|
252 |
|
259 |
|
253 |
|
260 |
|
|
|
||
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
|
30 |
|
|
30 |
|
31 |
|
31 |
|
32 |
|
32 |
|
33 |
|
|
|
||
295 |
|
296 |
|
296 |
|
297 |
|
297 |
|
298 |
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
|
304 |
|
|
|
305 |
|
|
|
306 |
|
|
|
307 |
|
|
|
308 |
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
|
|
|
312 |
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
|
|
|
330 |
|
|
|
331 |
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
|
|
|
335 |
|
|
|
336 |
|
|
|
337 |
|
|
|
338 |
|
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
|
|
|
345 |
|
|
|
346 |
|