chiark / gitweb /
units: teach m4 scripts in units/ about Debian's rc.local
authorRamkumar Ramachandra <artagnon@gmail.com>
Fri, 2 Dec 2011 16:44:31 +0000 (22:14 +0530)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 28 Oct 2012 00:14:41 +0000 (02:14 +0200)
This makes the behaviour wrt. to rc[-.]local consistent between
various distributions supporting it.

units/console-shell.service.m4.in
units/getty@.service.m4
units/serial-getty@.service.m4

index 400f84d..e0fbc61 100644 (file)
@@ -12,6 +12,9 @@ After=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
index fcf1de1..b5875ce 100644 (file)
@@ -12,6 +12,9 @@ After=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
index d6a7669..a6bbd71 100644 (file)
@@ -13,6 +13,9 @@ 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