mirror of
https://github.com/systemd/systemd.git
synced 2025-05-29 01:05:59 +03:00
Fix obsolete references to systemd-random-seed-load.service
This service was merged with systemd-random-seed-save.service in c35b956d34bbb8bb208e49e45de2c103ca11911c.
This commit is contained in:
parent
d808ca6414
commit
a0f708053b
Notes:
Lennart Poettering
2013-10-04 17:11:46 +02:00
Backport: bugfix
@ -129,7 +129,7 @@ static int create_disk(
|
|||||||
if (streq(password, "/dev/urandom") ||
|
if (streq(password, "/dev/urandom") ||
|
||||||
streq(password, "/dev/random") ||
|
streq(password, "/dev/random") ||
|
||||||
streq(password, "/dev/hw_random"))
|
streq(password, "/dev/hw_random"))
|
||||||
fputs("After=systemd-random-seed-load.service\n", f);
|
fputs("After=systemd-random-seed.service\n", f);
|
||||||
else if (!streq(password, "-") &&
|
else if (!streq(password, "-") &&
|
||||||
!streq(password, "none"))
|
!streq(password, "none"))
|
||||||
fprintf(f,
|
fprintf(f,
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Load/Save Random Seed
|
Description=Load/Save Random Seed
|
||||||
Documentation=man:systemd-random-seed-load.service(8) man:random(4)
|
Documentation=man:systemd-random-seed.service(8) man:random(4)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
RequiresMountsFor=@RANDOM_SEED@
|
RequiresMountsFor=@RANDOM_SEED@
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user