summarylogtreecommitdiffstats
path: root/tlp-arch.patch
blob: fbf3c6b31a3dfe97ed3b81c2b9ea6de4f9ede6eb (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff -rupN tlp.orig/tlp.rules tlp/tlp.rules
--- tlp.orig/tlp.rules	2015-01-10 02:43:33.341388989 +0100
+++ tlp/tlp.rules	2015-01-10 02:45:33.361390081 +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.orig/tlp.service tlp/tlp.service
--- tlp.orig/tlp.service	2015-01-10 02:43:33.341388989 +0100
+++ tlp/tlp.service	2015-01-10 02:43:48.678055785 +0100
@@ -11,8 +11,8 @@ Before=shutdown.target
 [Service]
 Type=simple
 RemainAfterExit=yes
-ExecStart=/usr/sbin/tlp init start
-ExecStop=/usr/sbin/tlp init stop
+ExecStart=/usr/bin/tlp init start
+ExecStop=/usr/bin/tlp init stop
 
 [Install]
 WantedBy=multi-user.target
diff -rupN tlp.orig/tlp-sleep.service tlp/tlp-sleep.service
--- tlp.orig/tlp-sleep.service	2015-01-10 02:43:33.341388989 +0100
+++ tlp/tlp-sleep.service	2015-01-10 02:43:48.678055785 +0100
@@ -11,8 +11,8 @@ StopWhenUnneeded=yes
 [Service]
 Type=oneshot
 RemainAfterExit=yes
-ExecStart=/usr/sbin/tlp suspend
-ExecStop=/usr/sbin/tlp resume
+ExecStart=/usr/bin/tlp suspend
+ExecStop=/usr/bin/tlp resume
 
 [Install]
 WantedBy=sleep.target