From 9c2cd81e0ef9cf45adc6108eaea172d722f39321 Mon Sep 17 00:00:00 2001 From: Ramkumar Ramachandra Date: Fri, 2 Dec 2011 22:14:31 +0530 Subject: 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. --- units/console-shell.service.m4.in | 3 +++ units/getty@.service.m4 | 3 +++ units/serial-getty@.service.m4 | 3 +++ 3 files changed, 9 insertions(+) (limited to 'units') 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 -- cgit v1.2.3-54-g00ecf