mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-laptop/thinkfan: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13729 Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
committed by
Aaron Bauman
parent
1bf48b9f66
commit
fa89acafec
@@ -1,39 +0,0 @@
|
||||
https://github.com/vmatare/thinkfan/pull/61
|
||||
|
||||
--- a/rcscripts/openrc/thinkfan.cmake
|
||||
+++ b/rcscripts/openrc/thinkfan.cmake
|
||||
@@ -1,26 +1,19 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
+command="@CMAKE_INSTALL_PREFIX@/sbin/thinkfan"
|
||||
+command_args="-q -s5 -c /etc/thinkfan.conf"
|
||||
+pidfile="@PID_FILE@"
|
||||
+
|
||||
extra_started_commands="reload"
|
||||
|
||||
+required_files="/etc/thinkfan.conf"
|
||||
+
|
||||
depend() {
|
||||
after modules
|
||||
}
|
||||
|
||||
-start() {
|
||||
- ebegin "Starting thinkfan"
|
||||
- start-stop-daemon --start --exec @CMAKE_INSTALL_PREFIX@/sbin/thinkfan -- -q -s5 -c /etc/thinkfan.conf
|
||||
- eend $?
|
||||
-}
|
||||
-
|
||||
-stop() {
|
||||
- ebegin "Stopping thinkfan"
|
||||
- start-stop-daemon --stop --exec @CMAKE_INSTALL_PREFIX@/sbin/thinkfan
|
||||
- eend $?
|
||||
-}
|
||||
-
|
||||
reload() {
|
||||
- PID=$(<@PID_FILE@)
|
||||
- ebegin "Sending SIGHUP to thinkfan($PID)"
|
||||
- kill -HUP $PID
|
||||
+ ebegin "Reloading ${SVCNAME}"
|
||||
+ start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user