Red Hat Bugzilla – Bug 94
script 'rc' glob is too general
Last modified: 2014-03-16 22:08:33 EDT
If the convention is Snn and Knn as a prefix to script names
in the various run level folders, then shouldn't the glob
be more specific in the script /etc/rc.d/rc?
It could be:
for i in /etc/rc.d/rc$runlevel.d/K[0-9][0-9]*; do
for i in /etc/rc.d/rc$runlevel.d/S[0-9][0-9]*; do
for i in /etc/rc.d/rc$runlevel.d/K*; do
for i in /etc/rc.d/rc$runlevel.d/S*; do
changed priority, but he does have a point. Seems reasonable.
The current implementation (using K* rather than K[0-9][0-9]*) is
identical to that implemented in SVR4 from which the entire
convention has been borrowed. Adding a more restrictive glob
solves no purpose that I can fathom (other than the obvious