Re: manipulating init states in anaconda

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >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


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux