summaryrefslogtreecommitdiff
path: root/units/sysinit.target.m4
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2010-09-03 16:23:05 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-06 03:12:44 +0200
commitf10814d9e00eee75773a0f3cf652236ee1a5fca8 (patch)
tree330273f80630a49dfada4207a3d9f4ea8fe47c52 /units/sysinit.target.m4
parentad206afcb90368a03fd8373d49a491ef027c7a4a (diff)
units: Provide separate fsck.target for Debian
On Debian sysinit is not a single script but a separate runlevel. Split of fsck.target into separate unit file as otherwise we get an unbreakable cycle on shutdown/reboot.
Diffstat (limited to 'units/sysinit.target.m4')
-rw-r--r--units/sysinit.target.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/units/sysinit.target.m4 b/units/sysinit.target.m4
index 029bb3ca31..e8d4d72b87 100644
--- a/units/sysinit.target.m4
+++ b/units/sysinit.target.m4
@@ -24,6 +24,8 @@ Requires=sysinit.service
After=sysinit.service
)m4_dnl
m4_ifdef(`TARGET_SUSE',`',
-m4_dnl On Suse, fsck.target is seperate, everywhere else it is just an alias for sysinit.target
+m4_ifdef(`TARGET_DEBIAN',`',
+m4_dnl On Suse and Debian fsck.target is separate, everywhere else it is just an alias for sysinit.target
Names=fsck.target
)m4_dnl
+)m4_dnl