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 |