At the end of start you run an egrep to see if there are any actionable lines in /etc/sysconfig/createfiles. Initially all that's in there is a header block of comments. Typically, sysadmins would put in additions after the header, and one expects they're not generally very extensive, so the file will be read once there. Suppose there's an actionable line. The create_files function is called and will read the file again, ignoring all the comments to get to the actionable line(s).
Don't do the egrep check. Just call the create_files function, and the file will be read just once in all cases. -- Paul Rogers paulgrog...@fastmail.fm Rogers' Second Law: "Everything you do communicates." (I do not personally endorse any additions after this line. TANSTAAFL :-) -- http://www.fastmail.com - Email service worth paying for. Try it for free -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page