]> err.no Git - systemd/commitdiff
cryptsetup: do not order crypto DM devices against the cryptsetup service
authorLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 02:36:06 +0000 (04:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 02:36:06 +0000 (04:36 +0200)
src/cryptsetup-generator.c

index f7c3f23f5e7cda669e6cb48da2b46340fa3eb6a3..858aed82d16cbf1c7d4ef1a0b7bc334be375f969 100644 (file)
@@ -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") ||