daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
572a44
From 635ba7207a9afa3fa1b0c4e804c6823d71c04d1c Mon Sep 17 00:00:00 2001
a4b143
From: Dave Reisner <dreisner@archlinux.org>
a4b143
Date: Wed, 2 Oct 2013 07:46:24 -0400
a4b143
Subject: [PATCH] fix lingering references to /var/lib/{backlight,random-seed}
a4b143
a4b143
This should have been part of ef5bfcf668e6029faa78534dfe.
a4b143
---
a4b143
 man/systemd-backlight@.service.xml  | 2 +-
a4b143
 man/systemd-random-seed.service.xml | 2 +-
a4b143
 units/systemd-backlight@.service.in | 2 +-
a4b143
 3 files changed, 3 insertions(+), 3 deletions(-)
a4b143
a4b143
diff --git a/man/systemd-backlight@.service.xml b/man/systemd-backlight@.service.xml
a4b143
index 2b73625..4318964 100644
a4b143
--- a/man/systemd-backlight@.service.xml
a4b143
+++ b/man/systemd-backlight@.service.xml
a4b143
@@ -58,7 +58,7 @@
a4b143
                 is a service that restores the display backlight
a4b143
                 brightness at early-boot and saves it at shutdown. On
a4b143
                 disk, the backlight brightness is stored in
a4b143
-                <filename>/var/lib/backlight/</filename>. Note that by
a4b143
+                <filename>/var/lib/systemd/backlight/</filename>. Note that by
a4b143
                 default, only firmware backlight devices are
a4b143
                 saved/restored.</para>
a4b143
         </refsect1>
a4b143
diff --git a/man/systemd-random-seed.service.xml b/man/systemd-random-seed.service.xml
a4b143
index 8cd14b7..e5cd037 100644
a4b143
--- a/man/systemd-random-seed.service.xml
a4b143
+++ b/man/systemd-random-seed.service.xml
a4b143
@@ -61,7 +61,7 @@
a4b143
                 for details. Saving/restoring the random seed across
a4b143
                 boots increases the amount of available entropy early
a4b143
                 at boot. On disk the random seed is stored in
a4b143
-                <filename>/var/lib/random-seed</filename>.</para>
a4b143
+                <filename>/var/lib/systemd/random-seed</filename>.</para>
a4b143
         </refsect1>
a4b143
 
a4b143
         <refsect1>
a4b143
diff --git a/units/systemd-backlight@.service.in b/units/systemd-backlight@.service.in
a4b143
index b0e75db..5caa5d5 100644
a4b143
--- a/units/systemd-backlight@.service.in
a4b143
+++ b/units/systemd-backlight@.service.in
a4b143
@@ -9,7 +9,7 @@
a4b143
 Description=Load/Save Screen Backlight Brightness of %I
a4b143
 Documentation=man:systemd-backlight@.service(8)
a4b143
 DefaultDependencies=no
a4b143
-RequiresMountsFor=/var/lib/backlight
a4b143
+RequiresMountsFor=/var/lib/systemd/backlight
a4b143
 Conflicts=shutdown.target
a4b143
 After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service
a4b143
 Before=sysinit.target shutdown.target