1 diff --git a/90-backlight.rules b/90-light-backlight.rules
3 rename from 90-backlight.rules
4 rename to 90-light-backlight.rules
5 diff --git a/Makefile.am b/Makefile.am
8 @@ -4,8 +4,8 @@ doc_DATA = README.md COPYING ChangeLog.md
9 EXTRA_DIST = README.md COPYING ChangeLog.md
12 -udev_DATA = 90-backlight.rules
13 -EXTRA_DIST += $(top_srcdir)/90-backlight.rules
14 +udev_DATA = 90-light-backlight.rules
15 +EXTRA_DIST += $(top_srcdir)/90-light-backlight.rules
18 # lintian --profile debian -i -I --show-overrides ../$PKG.changes
21 @@ -167,7 +167,7 @@ Optionally, instead of the classic SUID root mode of operation, udev rules can b
22 ./configure --with-udev && make
25 -This installs the `90-backlight.rules` into `/usr/lib/udev/rules.d/`.
26 +This installs the `90-light-backlight.rules` into `/usr/lib/udev/rules.d/`.
27 If your udev rules are located elsewhere, use `--with-udev=PATH`.
29 **Note:** make sure that your user is part of the `video` group, otherwise you will not get access to the devices.
30 --- a/debian/light.postinst
31 +++ b/debian/light.postinst
32 @@ -9,4 +9,4 @@ udevadm trigger --subsystem-match=backlight --subsystem-match=leds --action=chan
34 # Reset udev rule action back to 'add', it was set to 'change' during
35 # dh_auto_configure to make sure they are effective right away.
36 -sed -i 's/^ACTION=="change"/ACTION=="add"/g' /usr/lib/udev/rules.d/90-backlight.rules
37 +sed -i 's/^ACTION=="change"/ACTION=="add"/g' /usr/lib/udev/rules.d/90-light-backlight.rules
40 @@ -9,7 +9,7 @@ override_dh_auto_configure:
41 dh_auto_configure -- --with-udev
42 # Change action type of udev rules to make it effective after
43 # installation, they are reset back with the poinst script.
44 - sed -i 's/^ACTION=="add"/ACTION=="change"/g' 90-backlight.rules
45 + sed -i 's/^ACTION=="add"/ACTION=="change"/g' 90-light-backlight.rules
47 override_dh_installchangelogs:
48 dh_installchangelogs ChangeLog.md