Opened 23 years ago

Closed 23 years ago

Last modified 23 years ago

#35 closed defect (fixed)

rc and rcS file may need updating

Reported by: gerard@… Owned by: nomis80@…
Priority: normal Milestone:
Component: Book Version: 3.0-pre2
Severity: normal Keywords:
Cc:

Description

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.

Change History (4)

comment:1 by nomis80@…, 23 years ago

Owner: changed from lfs-book@… to nomis80@…
Status: newassigned

comment:2 by nomis80@…, 23 years ago

Resolution: fixed
Status: assignedclosed

Bug in rcS fixed, now it enforces 3 digits in symlinks. We decided against making rc and rcS overly complicated, so the symlinks will still be three-digits only. It's not the end of the world.

comment:3 by gerard@…, 23 years ago

Resolution: fixed
Status: closedreopened

Going to be changed from "for i in S[0-9][0-9][0-9]" to "for i in S*". The rc and rcS scripts will be fixed up later to make them do proper checking etcetera.

comment:4 by gerard@…, 23 years ago

Resolution: fixed
Status: reopenedclosed

Changed to S*

Note: See TracTickets for help on using tickets.