]> git.pld-linux.org Git - packages/hplip.git/blame - hplip-udev-rules.patch
- fix files
[packages/hplip.git] / hplip-udev-rules.patch
CommitLineData
215a0dee
JB
1--- hplip-3.16.2/data/rules/56-hpmud.rules.orig 2016-02-22 17:40:19.056836902 +0100
2+++ hplip-3.16.2/data/rules/56-hpmud.rules 2016-02-22 17:41:52.463499649 +0100
3@@ -12,7 +12,4 @@
4 # ENV{ID_HPLIP}="1" is for Ubuntu udev-acl
010d4608 5 ATTR{idVendor}=="03f0", ENV{ID_USB_INTERFACES}=="*:0701??:*|*:ffcc00:", OWNER="root", GROUP="lp", MODE="0664", ENV{libsane_matched}="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"
3b2074bb 6
215a0dee
JB
7-# This rule will check the smart install feature, plugin status and firmware download for the required printers.
8-ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM}'"
9-
10 LABEL="hpmud_rules_end"
d3ca3e6e
JR
11diff -up hplip-3.13.6/Makefile.am.udev-rules hplip-3.13.6/Makefile.am
12--- hplip-3.13.6/Makefile.am.udev-rules 2013-06-24 10:28:19.868301356 +0200
13+++ hplip-3.13.6/Makefile.am 2013-06-24 10:32:21.272134161 +0200
3ad1a8b6 14@@ -132,7 +132,7 @@ dist_rulessystem_DATA =data/rules/hplip-
3b2074bb
JR
15
16 # hpmud.rules
3ad1a8b6 17 if !HPLIP_CLASS_DRIVER
bed1bcd5
JR
18-rulesdir = /etc/udev/rules.d
19+rulesdir = /lib/udev/rules.d
d3ca3e6e
JR
20 if UDEV_SYSFS_RULES
21 dist_rules_DATA = data/rules/56-hpmud_sysfs.rules
22 else
3ad1a8b6 23
This page took 0.122294 seconds and 4 git commands to generate.