X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fgraphical.target.m4;h=c1534095e52273417dc24537f7445f9c6507f5d9;hp=151ad6bb1254b759c9bfc029bba7cec4f7d14eba;hb=16061c20ddd8eba9b9e1ef89149c51114a8084ce;hpb=5e6afdd3d359fc42de7ac432243e98673577e81f diff --git a/units/graphical.target.m4 b/units/graphical.target.m4 index 151ad6bb1..c1534095e 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 @@ -21,7 +11,15 @@ Description=Graphical Interface Requires=multi-user.target After=multi-user.target - +Conflicts=rescue.target +m4_dnl m4_ifdef(`TARGET_FEDORA', # On Fedora Runlevel 5 is graphical login -Names=runlevel5.target) +Names=runlevel5.target +)m4_dnl +m4_ifdef(`TARGET_SUSE', +Names=runlevel5.target +)m4_dnl + +[Install] +Alias=default.target m4_ifdef(`TARGET_FEDORA', runlevel5.target)