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:
parent
94bc27318a
commit
4aa7c05c1e
@ -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") ||
|
||||
|
Loading…
Reference in New Issue
Block a user