valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0003-fix-lingering-references-to-var-lib-backlight-random.patch

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