DJ Lucas wrote:
> On 07/12/2011 06:19 AM, Theodore You wrote:
>> On Tue, Jul 12, 2011 at 9:47 AM, Bruce Dubbs<[email protected]>  wrote:

>> According to the rc script, if an S entry was started in previous
>> runlevel, and not stopped in current runlevel, it will be skipped, but
>> if we are switching to runlevel 0 or 6, this script won't be stopped.
>> Is this intended or I'm wrong?
> 
> Actually, this check needs to be removed. It causes issues for the alsa 
> script and also setclock (if used to set hwclock when network goes down 
> in RL2).

Wouldn't this be just as easy as creating symlinks S50setclock in rc0 
and rc6 in the LFS Makefile?  In the same way, creating S35alsa symlinks 
in the BLFS Makefile would save the asla settings.

> There is no real _need_ for S links in 0 and 6. What it provides is a 
> failsafe of sorts. Nothing outside of system software should ever put a 
> start link in 0 and 6 ensuring that the last few scripts are run last 
> (sendsignals, mountfs, and reboot/halt IIRC).

Yes, IIRC, the process was taken from RedHat a long time ago.  There 
would be other ways to shut down properly, but I don't see a pressing 
need to change what fundamentally works (with the tweaks above).

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to