On Sat, Mar 09, 2002 at 05:38:42PM -0800, Bill Moseley wrote: > Is there a good summary document that explains modconf and /etc/modules.conf > in Debian? > > [snip about modules]
Sorry, I'm working in the blind there myself ... but: > My wife just gave me a blank stare when I discussed this with her, so allow > me to ask something else: > > In the /etc/rc*.d directories there are both K and S symlinks. I always > assumed if you went from, say, runlevel 2 to run level 3 first all the > /etc/rc2.d/K* scripts were called with "stop" and then all the /etc/rc3.d/S* > scripts are run. I read in the Debian Policy Manual 10.3.1 that's not how it > works. Instead going from runlevel 2 to 3, all the K's are run in rc3.d and > then all the S scripts in rc3.d. > > This seems counter intuitive to me. Can someone explain why it works that > way? To me this makes perfect sense. The K's tell you what you don't want in a runlevel, the S's tell you what you do want. In your interpretation, if level 2 had service foo started (i.e., it has: S<number>foo), and 3 didn't (so it has K<number>foo), it would never get stopped going from 2 to 3. If you follow the manual, foo will always be running in level 2, and never in level 3. -- Note that I use Debian version 3.0 Linux mus 2.4.17mvz2 #1 Wed Feb 27 17:41:43 CET 2002 i686 unknown Matijs