]> err.no Git - systemd/commitdiff
units: make sure that prefdm wins over the getty if both are pulled in
authorLennart Poettering <lennart@poettering.net>
Tue, 3 Aug 2010 21:58:23 +0000 (23:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 3 Aug 2010 21:58:23 +0000 (23:58 +0200)
units/graphical.target.m4

index 468770a55433cba66d7d6427f0a4367deba2fbf2..3fb152634ee6ef4be00d731a3792813291e3738e 100644 (file)
@@ -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