summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-03 23:58:23 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-03 23:58:23 +0200
commit14a35a84fa8550f579ba0769f81ea7f4ab5c0bcf (patch)
tree866d8cd84f515b12330a23ad955b884114a7d4e5
parenta48bcc46beb414588d25707df6b233611478313d (diff)
units: make sure that prefdm wins over the getty if both are pulled in
-rw-r--r--units/graphical.target.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/units/graphical.target.m4 b/units/graphical.target.m4
index 468770a554..3fb152634e 100644
--- a/units/graphical.target.m4
+++ b/units/graphical.target.m4
@@ -14,8 +14,11 @@ After=multi-user.target
Conflicts=rescue.target
m4_dnl
m4_ifdef(`TARGET_FEDORA',
-m4_dnl On Fedora Runlevel 5 is graphical login
+# On Fedora Runlevel 5 is graphical login
Names=runlevel5.target
+# Pull in prefdm via requires, to make sure when it conflicts with
+# getty@tty1.service it takes precedence.
+Requires=prefdm.service
)m4_dnl
m4_ifdef(`TARGET_SUSE',
Names=runlevel5.target