A script loaded via autoboot may want to get some of the settings (MAC address, IP address, et cetera) for the interface via which it was loaded, in order to pass them to the operating system. Previously such a script had no way to determine what to put in the X of ${netX/foo}. Solve this problem by transparently forwarding accesses to the real settings associated with the most recently opened network device, so scripts in this situation can say literally ${netX/foo} and get the foo setting they want. Signed-off-by: Marty Connor <mdc@etherboot.org>tags/v1.0.0-rc1
|
|
||
328 |
|
328 |
|
329 |
|
329 |
|
330 |
|
330 |
|
|
331 |
|
|
|
332 |
|
|
331 |
|
333 |
|
332 |
|
334 |
|
333 |
|
335 |
|
334 |
|
336 |
|
335 |
|
|
|
|
337 |
|
|
|
338 |
|
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
|
|
336 |
|
345 |
|
337 |
|
346 |
|
338 |
|
347 |
|