chiark / gitweb /
units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more...
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Mar 2011 03:37:31 +0000 (04:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Mar 2011 03:53:31 +0000 (04:53 +0100)
units/graphical.target.m4
units/multi-user.target.m4
units/poweroff.target
units/reboot.target
units/rescue.target

index 1931d7f..f2e3034 100644 (file)
@@ -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]
index 51e7b66..66f1a95 100644 (file)
@@ -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]
index 975b088..d2ccf4b 100644 (file)
@@ -10,7 +10,6 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-Names=runlevel0.target
 Requires=poweroff.service
 After=poweroff.service
 AllowIsolate=yes
index 2cd46a0..41e133c 100644 (file)
@@ -10,7 +10,6 @@
 [Unit]
 Description=Reboot
 DefaultDependencies=no
-Names=runlevel6.target
 Requires=reboot.service
 After=reboot.service
 AllowIsolate=yes
index ff3aef0..5bf3f8e 100644 (file)
@@ -11,7 +11,6 @@
 Description=Rescue Mode
 Requires=basic.target rescue.service
 After=basic.target rescue.service
-Names=runlevel1.target
 AllowIsolate=yes
 
 [Install]