diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-09-18 00:28:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-09-18 00:28:35 +0200 |
commit | ef5bfcf668e6029faa78534dfeb2591df854cdef (patch) | |
tree | 15d01f40f31ac239206e06042f44dc9de8215a53 /src/backlight | |
parent | logind: implement generic multi-session (diff) | |
download | systemd-ef5bfcf668e6029faa78534dfeb2591df854cdef.tar.xz systemd-ef5bfcf668e6029faa78534dfeb2591df854cdef.zip |
backlight,random-seed: move state files into /var/lib/systemd
Let's not scatter (private) files in /var around, let's place them all
in /var/lib/systemd and below.
Diffstat (limited to 'src/backlight')
-rw-r--r-- | src/backlight/backlight.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c index 1ef0b45cc6..9b2eada397 100644 --- a/src/backlight/backlight.c +++ b/src/backlight/backlight.c @@ -42,7 +42,7 @@ int main(int argc, char *argv[]) { umask(0022); - r = mkdir_p("/var/lib/backlight", 0755); + r = mkdir_p("/var/lib/systemd/backlight", 0755); if (r < 0) { log_error("Failed to create backlight directory: %s", strerror(-r)); goto finish; @@ -72,7 +72,7 @@ int main(int argc, char *argv[]) { goto finish; } - saved = strappend("/var/lib/backlight/", udev_device_get_sysname(device)); + saved = strappend("/var/lib/systemd/backlight/", udev_device_get_sysname(device)); if (!saved) { r = log_oom(); goto finish; |