ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
a4b143
From fc8c5e4ff8248fa5548de63a5b96d1d9cf2be425 Mon Sep 17 00:00:00 2001
a4b143
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
a4b143
Date: Sun, 22 Sep 2013 20:38:24 +0200
a4b143
Subject: [PATCH] Fix obsolete references to systemd-random-seed-load.service
a4b143
a4b143
This service was merged with systemd-random-seed-save.service in
a4b143
c35b956d34bbb8bb208e49e45de2c103ca11911c.
a4b143
---
a4b143
 src/cryptsetup/cryptsetup-generator.c | 2 +-
a4b143
 units/systemd-random-seed.service.in  | 2 +-
a4b143
 2 files changed, 2 insertions(+), 2 deletions(-)
a4b143
a4b143
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c
a4b143
index ba6efa6..8792e6b 100644
a4b143
--- a/src/cryptsetup/cryptsetup-generator.c
a4b143
+++ b/src/cryptsetup/cryptsetup-generator.c
a4b143
@@ -129,7 +129,7 @@ static int create_disk(
a4b143
                 if (streq(password, "/dev/urandom") ||
a4b143
                     streq(password, "/dev/random") ||
a4b143
                     streq(password, "/dev/hw_random"))
a4b143
-                        fputs("After=systemd-random-seed-load.service\n", f);
a4b143
+                        fputs("After=systemd-random-seed.service\n", f);
a4b143
                 else if (!streq(password, "-") &&
a4b143
                          !streq(password, "none"))
a4b143
                         fprintf(f,
a4b143
diff --git a/units/systemd-random-seed.service.in b/units/systemd-random-seed.service.in
a4b143
index 0c21a04..1879b2f 100644
a4b143
--- a/units/systemd-random-seed.service.in
a4b143
+++ b/units/systemd-random-seed.service.in
a4b143
@@ -7,7 +7,7 @@
a4b143
 
a4b143
 [Unit]
a4b143
 Description=Load/Save Random Seed
a4b143
-Documentation=man:systemd-random-seed-load.service(8) man:random(4)
a4b143
+Documentation=man:systemd-random-seed.service(8) man:random(4)
a4b143
 DefaultDependencies=no
a4b143
 RequiresMountsFor=@RANDOM_SEED@
a4b143
 Conflicts=shutdown.target