summarylogtreecommitdiffstats
path: root/tlp-arch.patch
diff options
context:
space:
mode:
authorMaxime Gauduin2019-04-17 13:55:03 +0200
committerMaxime Gauduin2019-04-17 13:55:03 +0200
commit77688b3269931a87dde91e16fc57090cf1255326 (patch)
tree575d3e4027b5c12d3fd30d1bb60915368b5f20c7 /tlp-arch.patch
parent06b65afd897189500ecea4e74d1124b5eca3ec4f (diff)
downloadaur-77688b3269931a87dde91e16fc57090cf1255326.tar.gz
update tlp-git
Diffstat (limited to 'tlp-arch.patch')
-rw-r--r--tlp-arch.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/tlp-arch.patch b/tlp-arch.patch
deleted file mode 100644
index fbf3c6b31a3d..000000000000
--- a/tlp-arch.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-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