Theodore You wrote: > The book says in chapter 7.3: > Links that start with an S in the rc0.d and rc6.d directories will > not cause anything to be started. They will be called with the > parameter stop to stop something. > > If so, why are there still scripts starting with an S in these two > directories? > Why not change all S to K?
When changing to any run level, the rc script is run. It goes through the K entries with a stop. For runlevels 0 and 6, all the S entries are also run, in order, with a stop. For runlevels 1-5, The S entries are run with a start. For runlevels 0 and 6, this lets us shut down in the order started (K entries) and then run the S entries, in order, to actually halt or restart the system. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
