File tlp-0.8-correct-udev-rules-path.patch of Package tlp.openSUSE_Leap_42.1_Update

--- a/tlp-rdw.rules
+++ b/tlp-rdw.rules
@@ -6,22 +6,22 @@
 # --- Dock/undock events
 
 # ThinkPad Advanced Mini Dock (and all older models), ThinkPad UltraBase
-ACTION=="change", SUBSYSTEM=="platform", KERNEL=="dock.*", RUN+="/lib/udev/tlp-rdw-udev %p dock"
+ACTION=="change", SUBSYSTEM=="platform", KERNEL=="dock.*", RUN+="/usr/lib/udev/tlp-rdw-udev %p dock"
 
 # ThinkPad Mini Dock (Plus) Series 3
-ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/100a/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
+ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/100a/*", RUN+="/usr/lib/udev/tlp-rdw-udev %p usb_dock"
 
 # ThinkPad Ultra Dock
-ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/1010/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
+ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/1010/*", RUN+="/usr/lib/udev/tlp-rdw-udev %p usb_dock"
 
 # ThinkPad Pro Dock
-ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/1012/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
+ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/1012/*", RUN+="/usr/lib/udev/tlp-rdw-udev %p usb_dock"
 
 # ThinkPad Basic Dock
 # *** TODO: yet unknown ***
 
 # ThinkPad OneLink Dock Pro
-ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/304b/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
+ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/304b/*", RUN+="/usr/lib/udev/tlp-rdw-udev %p usb_dock"
 
 # ThinkPad OneLink Dock Basic
-ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/3049/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
+ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/3049/*", RUN+="/usr/lib/udev/tlp-rdw-udev %p usb_dock"
--- a/tlp.rules
+++ b/tlp.rules
@@ -7,4 +7,4 @@
 ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", RUN+="/usr/sbin/tlp auto"
 
 # handle added usb devices (exclude subdevices via DRIVER=="USB")
-ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", ENV{DEVTYPE}=="usb_device", RUN+="/lib/udev/tlp-usb-udev %p"
+ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/tlp-usb-udev %p"
openSUSE Build Service is sponsored by