[Bug 35] New: rc and rcS file may need updating

bugzilla at shadowfax.linuxfromscratch.org bugzilla at shadowfax.linuxfromscratch.org
Tue May 8 08:25:37 PDT 2001


http://bugs.linuxfromscratch.org/show_bug.cgi?id=35

           Summary: rc and rcS file may need updating
           Product: Linux From Scratch
           Version: 3.0-pre2
          Platform: PC
               URL:
        OS/Version: Linux
            Status: NEW
 Status Whiteboard:
          Keywords:
        Resolution:
          Severity: normal
          Priority: P3
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: gerard at linuxfromscratch.org


It contains:
for i in /etc/rcS.d/S??*

This probably should be changed to /etc/rcS.d/S???* because the symlinks have
three digits now. Or what about just siple /etc/rcS.d/S* ?
S??* works fine with 2 or more digits, but what if you only want one digit?

The same goes for the rc script. We use S[0-9][0-9][0-9] right now. This forces
3 digits (I haven't tried this with two digits yet,it may work regardless). What
if we want more or less digits?

And let's sync these. If rc has S[0-9] constructions, then rcS should have the
same type of thing.

What we need:
construction that works no matter how many digits your symlinks have.






More information about the lfs-book mailing list