X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fgraphical.target.m4;h=3fb152634ee6ef4be00d731a3792813291e3738e;hb=b9911f4434f93256e6adc563f3ff96419118eaad;hp=aaed4a5b7ba27419d1a7efe9726bbd28ec7ceb75;hpb=50321ee3ef31b540e78bb767c3935763b96ea581;p=elogind.git diff --git a/units/graphical.target.m4 b/units/graphical.target.m4 index aaed4a5b7..3fb152634 100644 --- a/units/graphical.target.m4 +++ b/units/graphical.target.m4 @@ -1,19 +1,9 @@ # This file is part of systemd. # -# Copyright 2010 Lennart Poettering -# # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with systemd; If not, see . # See systemd.special(7) for details @@ -24,6 +14,15 @@ 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 +)m4_dnl + +[Install] +Alias=default.target m4_ifdef(`TARGET_FEDORA', runlevel5.target)