chiark / gitweb /
backlight: include ID_PATH in file names for backlight settings
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Oct 2013 17:01:09 +0000 (19:01 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 Oct 2013 17:02:44 +0000 (19:02 +0200)
commitbe3f52f4ed02a9256b1577719677b32a17b525ac
tree488cd3cc70190f3ca82034b6d2811a0106da0bfa
parentf6f738db7273f8a2092ac372852f37f2a34cea17
backlight: include ID_PATH in file names for backlight settings

Much like for rfkill devices we should provide some stability regarding
enumeration order, hence include the stable bits of the device path in
the file name we store settings under.
rules/99-systemd.rules.in
src/backlight/backlight.c
src/rfkill/rfkill.c