Originally Posted by austinramsay
I'm running slackware and was curious why there are so many rc.X directories. Theres rc.0-6 in /etc, then another set of rc.0-6 in /etc/rc.d? What's the point of this? I know what the directories are for but I don't see why there's 2 sets of them.
Too my knowledge this is done for compatibility reasons.
From a historical point of view there are 2 ways the rc.* structure can be implemented. One is a /etc/rc.d directory holding all the rc related files/dirs, the other places all the rc related files/dirs in /etc (often soft links exist from one to the other).