chiark / gitweb /
build-sys: add Mandriva distribution support
[elogind.git] / units / graphical.target.m4
index cb8e811a8b4fd09a4f48118f9140667ba531854b..1931d7f9860107376cbbd1bf76d3b912b100dd2d 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
 
 # See systemd.special(7) for details
 
 Description=Graphical Interface
 Requires=multi-user.target
 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
+)m4_dnl
+m4_ifdef(`TARGET_SUSE',
 Names=runlevel5.target
 )m4_dnl
+m4_ifdef(`TARGET_ALTLINUX',
+Names=runlevel5.target
+)m4_dnl
+m4_ifdef(`TARGET_MANDRIVA',
+Names=runlevel5.target
+)m4_dnl
+AllowIsolate=yes
+
+[Install]
+Alias=default.target