1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-12 13:18:14 +03:00

cryptsetup: do not order crypto DM devices against the cryptsetup service

This commit is contained in:
Lennart Poettering 2011-04-16 04:36:06 +02:00
parent 94bc27318a
commit 4aa7c05c1e

View 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") ||