manipulating init states in anaconda

Klaus Steden klaus.steden at thomson.net
Wed Jun 8 20:35:15 UTC 2005


> >Well, it seems (or so I seem to have discovered but I'm willing to be
> >corrected) that if you specify 'skipx', the default init state is 3,
> >while specifying X11 parameters leaves you with a default init state of
> >5. This is reasonable enough for my needs.
> 
> "runlevel" is the operative word here. As you've found, skipx will
> choose between 3/5, but for more fine-grained control (perhaps you want
> X to be configured but not start by default) this will work:
> 
> %post
> perl -i -p -e 's/^id:.:initdefault:$/id:2:initdefault:/' /etc/inittab
> 
> to set runlevel 2, for example.
> 
Heh, yeah, that works ... but I'm hoping to avoid having to resort to that
kind of approach. ;>

cheers,
Klaus




More information about the Kickstart-list mailing list