summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-16 04:36:06 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-16 04:36:06 +0200
commit4aa7c05c1e110467767e4f1ea016e3617e1bb310 (patch)
treee8ac5624a375b0f5de2e6683561e576d178e45c9 /src
parent94bc27318a258f460bc9dfa641737324c62b4759 (diff)
cryptsetup: do not order crypto DM devices against the cryptsetup service
Diffstat (limited to 'src')
-rw-r--r--src/cryptsetup-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c
index f7c3f23f5e..858aed82d1 100644
--- a/src/cryptsetup-generator.c
+++ b/src/cryptsetup-generator.c
@@ -107,7 +107,7 @@ static int create_disk(
"DefaultDependencies=no\n"
"BindTo=%s dev-mapper-%%i.device\n"
"After=systemd-readahead-collect.service systemd-readahead-replay.service %s\n"
- "Before=dev-mapper-%%i.device shutdown.target cryptsetup.target\n",
+ "Before=shutdown.target cryptsetup.target\n",
d, d);
if (password && (streq(password, "/dev/urandom") ||