summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--units/graphical.target.m414
-rw-r--r--units/multi-user.target.m420
-rw-r--r--units/poweroff.target1
-rw-r--r--units/reboot.target1
-rw-r--r--units/rescue.target1
5 files changed, 0 insertions, 37 deletions
diff --git a/units/graphical.target.m4 b/units/graphical.target.m4
index 1931d7f986..f2e30341d4 100644
--- a/units/graphical.target.m4
+++ b/units/graphical.target.m4
@@ -12,20 +12,6 @@ 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
-)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]
diff --git a/units/multi-user.target.m4 b/units/multi-user.target.m4
index 51e7b6664c..66f1a950f9 100644
--- a/units/multi-user.target.m4
+++ b/units/multi-user.target.m4
@@ -12,26 +12,6 @@ Description=Multi-User
Requires=basic.target
Conflicts=rescue.service rescue.target
After=basic.target rescue.service rescue.target
-m4_dnl
-m4_ifdef(`TARGET_FEDORA',
-m4_dnl On Fedora Runlevel 3 is multi-user
-Names=runlevel3.target
-)m4_dnl
-m4_ifdef(`TARGET_SUSE',
-Names=runlevel3.target
-)m4_dnl
-m4_ifdef(`TARGET_ALTLINUX',
-Names=runlevel3.target
-)m4_dnl
-m4_ifdef(`TARGET_DEBIAN',
-m4_ifdef(`TARGET_UBUNTU',
-m4_dnl On Debian/Ubuntu Runlevel 2, 3, 4 and 5 are multi-user
-Names=runlevel2.target runlevel3.target runlevel4.target runlevel5.target
-)m4_dnl
-)m4_dnl
-m4_ifdef(`TARGET_MANDRIVA',
-Names=runlevel3.target
-)m4_dnl
AllowIsolate=yes
[Install]
diff --git a/units/poweroff.target b/units/poweroff.target
index 975b088965..d2ccf4b2c7 100644
--- a/units/poweroff.target
+++ b/units/poweroff.target
@@ -10,7 +10,6 @@
[Unit]
Description=Power-Off
DefaultDependencies=no
-Names=runlevel0.target
Requires=poweroff.service
After=poweroff.service
AllowIsolate=yes
diff --git a/units/reboot.target b/units/reboot.target
index 2cd46a062b..41e133cb76 100644
--- a/units/reboot.target
+++ b/units/reboot.target
@@ -10,7 +10,6 @@
[Unit]
Description=Reboot
DefaultDependencies=no
-Names=runlevel6.target
Requires=reboot.service
After=reboot.service
AllowIsolate=yes
diff --git a/units/rescue.target b/units/rescue.target
index ff3aef0336..5bf3f8e8ee 100644
--- a/units/rescue.target
+++ b/units/rescue.target
@@ -11,7 +11,6 @@
Description=Rescue Mode
Requires=basic.target rescue.service
After=basic.target rescue.service
-Names=runlevel1.target
AllowIsolate=yes
[Install]