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

Re: X and runlevels



On Mon 04 Sep 2000, Per Lundberg wrote:

> Sure. But whenever you install something that gets you a display
> manager, your system will boot up in X. To get it to boot up in
> console mode, you have to manually remove the symlinks in your
> runlevel's script directory. The next time you update the display
> manager, you'll have to do this again. It is not really convenient.

Not quite, if you leave at least one symlink somewhere in the
rc?.d directories, your config should be left alone (i.e. the
symlinks won't be redone). See the update-rc.d manpage:

: INSTALLING INIT SCRIPT LINKS
:        When run with either the defaults, start, or stop options,
:        update-rc.d   makes   links   /etc/rcrunlevel.d/[SK]NNname
:        pointing to the script /etc/init.d/name,
: 
:        If  any  files  /etc/rcrunlevel.d/[SK]??name already exist
:        then update-rc.d does nothing.  This is so that the system
:        administrator  can rearrange the links, provided that they
:        leave at least one link remaining,  without  having  their
:        configuration overwritten.


Paul Slootman
-- 
home:       paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work:       paul@murphy.nl       http://www.murphy.nl/
debian:     paul@debian.org      http://www.debian.org/
isdn4linux: paul@isdn4linux.de   http://www.isdn4linux.de/


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: