summarylogtreecommitdiffstats
path: root/tlp-arch.patch
blob: 2ed343a21e65072f178a4e14b90d991ccfae6e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -rupN TLP-0.7.orig/tlp.rules TLP-0.7/tlp.rules
--- TLP-0.7.orig/tlp.rules	2015-02-24 10:41:23.600434433 +0100
+++ TLP-0.7/tlp.rules	2015-02-24 10:41:35.026696729 +0100
@@ -4,7 +4,7 @@
 # This software is licensed under the GPL v2 or later.
 
 # handle change of power source ac/bat
-ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", RUN+="/usr/sbin/tlp auto"
+ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", RUN+="/usr/bin/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"
diff -rupN TLP-0.7.orig/tlp.service TLP-0.7/tlp.service
--- TLP-0.7/tlp.init	2015-02-01 03:02:48.000000000 +0530
+++ TLP-0.7/tlp.init.new	2015-02-25 10:49:46.079992409 +0530
@@ -17,7 +17,7 @@
 
-. /lib/lsb/init-functions
+#. /lib/lsb/init-functions
 
-TLP=/usr/sbin/tlp
+TLP=/usr/bin/tlp
 [ -x $TLP ] || exit 0
 
 case "$1" in