Add debian/patches/0002-fix_udev_action.patch: Also set permission for "change" udev ACTION (Closes: #557178)

This commit is contained in:
Laurent Bigonville 2010-12-22 18:29:42 +01:00
parent 00b3b334a9
commit 58a98cfddc
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,10 @@
--- nut-2.4.3.orig/scripts/udev/nut-usbups.rules.in
+++ nut-2.4.3/scripts/udev/nut-usbups.rules.in
@@ -1,6 +1,6 @@
# This file is generated and installed by the Network UPS Tools package.
-ACTION!="add", GOTO="nut-usbups_rules_end"
+ACTION!="add|change", GOTO="nut-usbups_rules_end"
SUBSYSTEM=="usb_device", GOTO="nut-usbups_rules_real"
SUBSYSTEM=="usb", GOTO="nut-usbups_rules_real"
BUS!="usb", GOTO="nut-usbups_rules_end"

View file

@ -1 +1,2 @@
0001-low_speed_usb_ups.patch
0002-fix_udev_action.patch