]> err.no Git - systemd/commitdiff
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 1931d7f9860107376cbbd1bf76d3b912b100dd2d..f2e30341d4549e4a88fc703df9a7a442e38c1ffb 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 51e7b6664cfaa4c9ae5a1eb9bee38edcf5c2adce..66f1a950f995d5a8ccde7f4e9df0e27003a03ddc 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 975b088965d0e01b6b35159c8771a574868ec884..d2ccf4b2c73e36a76e237816da4df20789d5202e 100644 (file)
@@ -10,7 +10,6 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-Names=runlevel0.target
 Requires=poweroff.service
 After=poweroff.service
 AllowIsolate=yes
index 2cd46a062bf2d9c04349ad2f52e301ad2b4f03dc..41e133cb767635decbae77e03e1e28e7d8a3f52a 100644 (file)
@@ -10,7 +10,6 @@
 [Unit]
 Description=Reboot
 DefaultDependencies=no
-Names=runlevel6.target
 Requires=reboot.service
 After=reboot.service
 AllowIsolate=yes
index ff3aef03369cff2624f91bf41a26bb2deacf0a3d..5bf3f8e8eee8c26509259c295a68b0ddc72755b1 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]