nut/debian/patches/0002-fix_udev_action.patch

10 lines
430 B
Diff

--- 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"