Преглед изворни кода

Namespace udev rules file to avoid conflicts

Maxim Baz пре 3 година
родитељ
комит
260e2c1a55
No account linked to committer's email
5 измењених фајлова са 5 додато и 5 уклоњено
  1. 0
    0
      90-light-backlight.rules
  2. 2
    2
      Makefile.am
  3. 1
    1
      README.md
  4. 1
    1
      debian/light.postinst
  5. 1
    1
      debian/rules

90-backlight.rules → 90-light-backlight.rules Прегледај датотеку


+ 2
- 2
Makefile.am Прегледај датотеку

@@ -4,8 +4,8 @@ doc_DATA       = README.md COPYING ChangeLog.md
4 4
 EXTRA_DIST     = README.md COPYING ChangeLog.md
5 5
 
6 6
 if UDEV
7
-udev_DATA      = 90-backlight.rules
8
-EXTRA_DIST    += $(top_srcdir)/90-backlight.rules
7
+udev_DATA      = 90-light-backlight.rules
8
+EXTRA_DIST    += $(top_srcdir)/90-light-backlight.rules
9 9
 endif
10 10
 
11 11
 # lintian --profile debian -i -I --show-overrides ../$PKG.changes

+ 1
- 1
README.md Прегледај датотеку

@@ -167,7 +167,7 @@ Optionally, instead of the classic SUID root mode of operation, udev rules can b
167 167
     ./configure --with-udev && make
168 168
     sudo make install
169 169
 
170
-This installs the `90-backlight.rules` into `/usr/lib/udev/rules.d/`.
170
+This installs the `90-light-backlight.rules` into `/usr/lib/udev/rules.d/`.
171 171
 If your udev rules are located elsewhere, use `--with-udev=PATH`.
172 172
 
173 173
 **Note:** make sure that your user is part of the `video` group, otherwise you will not get access to the devices.

+ 1
- 1
debian/light.postinst Прегледај датотеку

@@ -9,4 +9,4 @@ udevadm trigger --subsystem-match=backlight --subsystem-match=leds --action=chan
9 9
 
10 10
 # Reset udev rule action back to 'add', it was set to 'change' during
11 11
 # dh_auto_configure to make sure they are effective right away.
12
-sed -i 's/^ACTION=="change"/ACTION=="add"/g' /usr/lib/udev/rules.d/90-backlight.rules
12
+sed -i 's/^ACTION=="change"/ACTION=="add"/g' /usr/lib/udev/rules.d/90-light-backlight.rules

+ 1
- 1
debian/rules Прегледај датотеку

@@ -9,7 +9,7 @@ override_dh_auto_configure:
9 9
 	dh_auto_configure -- --with-udev
10 10
 	# Change action type of udev rules to make it effective after
11 11
 	# installation, they are reset back with the poinst script.
12
-	sed -i 's/^ACTION=="add"/ACTION=="change"/g' 90-backlight.rules
12
+	sed -i 's/^ACTION=="add"/ACTION=="change"/g' 90-light-backlight.rules
13 13
 
14 14
 override_dh_installchangelogs:
15 15
 	dh_installchangelogs ChangeLog.md