diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2011-12-02 22:14:31 +0530 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-10-28 02:14:41 +0200 |
commit | 9c2cd81e0ef9cf45adc6108eaea172d722f39321 (patch) | |
tree | 14e213946ef69332fb26678c953203a94b494e44 | |
parent | f2d433e178df7df01a836e95775261e1d85ec60d (diff) |
units: teach m4 scripts in units/ about Debian's rc.local
This makes the behaviour wrt. to rc[-.]local consistent between
various distributions supporting it.
-rw-r--r-- | units/console-shell.service.m4.in | 3 | ||||
-rw-r--r-- | units/getty@.service.m4 | 3 | ||||
-rw-r--r-- | units/serial-getty@.service.m4 | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/units/console-shell.service.m4.in b/units/console-shell.service.m4.in index 400f84d463..e0fbc61b96 100644 --- a/units/console-shell.service.m4.in +++ b/units/console-shell.service.m4.in @@ -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 diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index fcf1de197f..b5875ce491 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -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 diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4 index d6a7669045..a6bbd714e6 100644 --- a/units/serial-getty@.service.m4 +++ b/units/serial-getty@.service.m4 @@ -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 |