teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

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

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