rc.local doesn't get run?
ksomervi at brokenlogo.com
Mon Feb 5 17:54:41 PST 2007
MC Dan Nicholson cold spun it on 02/05/07 20:03:
> On 2/5/07, Kevin Somervill <ksomervi at brokenlogo.com> wrote:
>> So, how do I get the init system to run the rc.local file? I've put it
>> in /etc/rc.d but no luck. I've looked through the docs and by what I
>> find on the net it should get executed automagically I thought. My
>> system is a lfs 6.1.
> I don't think we run it on LFS. You could easily fix this by adding
> the proper symlink to rcsysinit.d. Something like:
> mv rc.local /etc/rc.d/init.d
> ln -sv ../init.d/rc.local /etc/rc.d/rcsysinit.d/S99rc.local
I thought about doing this, but I thought that init was supposed to run
rc.local last if it found it. Am I incorrect there? How do other
systems handle it?
> You might need to change S99 if you need it to run before the mountfs
> script or something. Maybe we should do this by default and just ship
> an empty rc.local in lfs-bootscripts.
I want it to run last.
More information about the lfs-support