chiark / gitweb /
units: add a couple of Conflicts to make boot targets exclusive
authorLennart Poettering <lennart@poettering.net>
Mon, 17 May 2010 17:37:49 +0000 (19:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 May 2010 17:37:49 +0000 (19:37 +0200)
units/basic.target.m4
units/graphical.target.m4
units/multi-user.target.m4

index c31a8f6..5053df4 100644 (file)
@@ -21,6 +21,7 @@
 Description=Basic System
 Requires=local-fs.target swap.target sockets.target
 After=local-fs.target swap.target sockets.target
+Conflicts=emergency.service
 m4_dnl
 m4_ifdef(`TARGET_FEDORA',
 m4_dnl Hook in Fedora's /etc/rc.d/rc.sysinit
index cb8e811..aaed4a5 100644 (file)
@@ -21,6 +21,7 @@
 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
index b7f5f15..a49cfb9 100644 (file)
@@ -21,6 +21,7 @@
 Description=Multi-User
 Requires=basic.target
 After=basic.target
+Conflicts=rescue.target
 m4_dnl
 m4_ifdef(`TARGET_FEDORA',
 m4_dnl On Fedora Runlevel 3 is multi-user