Modules and runlevels.

Andy Peeters andy.peeters at advalvas.be
Sat Jan 13 04:21:43 PST 2001


Hi,

> > So, the question is actually: is there a way to set the runlevel
> > dynamically instead of statically in inittab?
> > Or, is there another way to solve my problem?
>
> Try this:
> LILO: kernelimage init="/sbin/init 4"
> or
> LILO: kernelimage init="/sbin/init 5"
>
> It may work, it may not work, i haven't actually tried it yet.
>
> If it works, then edit /etc/lilo.conf:
>
> image=/boot/somekernelimage
> label="burncd"
> append="init=/sbin/init 4"
> image=/boot/someotherkernel
> label="netnoserver"
> append="init=/sbin/init 2"
>
> and so forth, well adapt the runlevels and names to your needs of course
but
> I hope you get the general idea.
>

Right! That's indeed what I need. I'll test it as soon as I can.
Thanks.

> > PS: Did me thinking on the quote of Gerard (not sure):
>
> Yeah that would be me, though I stole it from somebody else as well (I'm
not
> that creative to come up with something like that all by myself)
>
>
> --
> Gerard Beekmans
> www.linuxfromscratch.org
>
> -*- If Linux doesn't have the solution, you have the wrong problem -*-
>

Andy.


-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list