summaryrefslogtreecommitdiffstats
path: root/units/serial-getty@.service.m4
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-04 22:36:48 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-04 23:26:21 +0100
commit83514a2fa0c9377e76dcc323ab7e7756b7f86cc4 (patch)
treed87e039e91c03bef18d33540a5f44a3e4f5d1011 /units/serial-getty@.service.m4
parentsystemctl: enable chkconfig compat only if chkconfig is found rather than bas... (diff)
downloadsystemd-83514a2fa0c9377e76dcc323ab7e7756b7f86cc4.tar.xz
systemd-83514a2fa0c9377e76dcc323ab7e7756b7f86cc4.zip
units: drop distro specific stuff from units
Since rc-local is now enabled via the SysV compatibility we should only refer to it based on that too.
Diffstat (limited to 'units/serial-getty@.service.m4')
-rw-r--r--units/serial-getty@.service.m420
1 files changed, 1 insertions, 19 deletions
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
index 11f5e2c006..60d7737b74 100644
--- a/units/serial-getty@.service.m4
+++ b/units/serial-getty@.service.m4
@@ -11,25 +11,7 @@ Documentation=man:agetty(8) man:systemd-getty-generator(8)
Documentation=http://0pointer.de/blog/projects/serial-console.html
BindsTo=dev-%i.device
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
-m4_ifdef(`TARGET_FEDORA',
-After=rc-local.service
-)m4_dnl
-m4_ifdef(`TARGET_DEBIAN',
-After=rc.local.service
-)m4_dnl
-m4_ifdef(`TARGET_ARCH',
-After=rc-local.service
-)m4_dnl
-m4_ifdef(`TARGET_FRUGALWARE',
-After=local.service
-)m4_dnl
-m4_ifdef(`TARGET_ALTLINUX',
-After=rc-local.service
-)m4_dnl
-m4_ifdef(`TARGET_MANDRIVA',
-After=rc-local.service
-)m4_dnl
-m4_ifdef(`TARGET_MAGEIA',
+m4_ifdef(`HAVE_SYSV_COMPAT',
After=rc-local.service
)m4_dnl