Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 285929 | Differences between
and this patch

Collapse All | Expand All

(-)a/x11-apps/xinit/files/xdm.confd-1 (-12 lines)
Lines 1-12 Link Here
1
# We always try and start X on a static VT. The various DMs normally default
2
# to using VT7. If you wish to use the xdm init script, then you should ensure
3
# that the VT checked is the same VT your DM wants to use. We do this check to
4
# ensure that you have't accidently configured something to run on the VT
5
# in your /etc/inittab file so that you don't get a dead keyboard.
6
CHECKVT=7
7
8
# What display manager do you use ?  [ xdm | gdm | kdm | kdm-3.5 | kdm-4.0 | gpe | entrance ]
9
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
10
# KDE-specific note: kdm-3.5 and kdm-4.0 are just examples. You will find all 
11
# possible versions by looking at the directories in /usr/kde/.
12
DISPLAYMANAGER="xdm"
(-)a/x11-apps/xinit/files/xdm.initd-3 (-7 / +6 lines)
Lines 39-45 Link Here
39
39
40
# Start X Font Server before X
40
# Start X Font Server before X
41
depend() {
41
depend() {
42
	need localmount xdm-setup
42
	need localmount
43
43
44
	# this should start as early as possible
44
	# this should start as early as possible
45
	# we can't do 'before *' as that breaks it
45
	# we can't do 'before *' as that breaks it
Lines 126-137 vtstatic() { Link Here
126
start() {
126
start() {
127
	local EXE= NAME= PIDFILE=
127
	local EXE= NAME= PIDFILE=
128
	setup_dm
128
	setup_dm
129
	
129
130
	if [ -f /etc/init.d/.noxdm ] ; then
130
        if get_bootparam "nox" ; then
131
		einfo "Skipping ${EXE}, /etc/init.d/.noxdm found"
131
		einfo "Skipping ${EXE}, nox option was passed"
132
		rm /etc/init.d/.noxdm
132
		return 0
133
		return 1
133
        fi
134
	fi
135
	
134
	
136
	ebegin "Setting up ${EXE##*/}"
135
	ebegin "Setting up ${EXE##*/}"
137
	#save the prefered DM
136
	#save the prefered DM
(-)a/x11-apps/xinit/xinit-1.0.8-r8.ebuild (-1 lines)
Lines 59-65 src_install() { Link Here
59
	exeinto /etc/X11/xinit
59
	exeinto /etc/X11/xinit
60
	doexe "${FILESDIR}"/xinitrc || die
60
	doexe "${FILESDIR}"/xinitrc || die
61
	newinitd "${FILESDIR}"/xdm.initd-3 xdm
61
	newinitd "${FILESDIR}"/xdm.initd-3 xdm
62
	newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
63
	newconfd "${FILESDIR}"/xdm.confd-1 xdm
62
	newconfd "${FILESDIR}"/xdm.confd-1 xdm
64
	newpamd "${FILESDIR}"/xserver.pamd xserver
63
	newpamd "${FILESDIR}"/xserver.pamd xserver
65
64

Return to bug 285929