Bootscript reorganization

DJ Lucas dj at linuxfromscratch.org
Mon Jul 18 22:34:28 PDT 2011


On 07/19/2011 12:29 AM, DJ Lucas wrote:
>
> The ifup script greps for all lines containing "^iface $1" (which also
> has the type and service fields), record the line numbers found, get
> type and service from those line numbers (f3 and f4 resp.), next line,
> next line, next line until a ^#, empty line, or EOF is found. Pass the
> following lines to the service script on a single line and let the
> service script handle the arguments in a shifting while loop.
Actually, we could do all of that on the next line after an iface line. 
I still don't see the need for type yet...also didn't look at your new 
scripts yet Bruce, just throwing out ideas in an older part of the 
thread that had stuck with me.

-- DJ Lucas



-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




More information about the lfs-dev mailing list