Packages

  • Status Deferred
  • Percent Complete
    0%
  • Task Type Implementation Request
  • Category Any
  • Assigned To
    André Silva
  • Operating System Hyperbola GNU/Linux-libre
  • Severity Low
  • Priority Very Low
  • Reported Version Any
  • Due in Version Milky Way v0.5
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Packages
Opened by fablamar - 06/11/2017
Last edited by André Silva - 14/11/2017

FS#135 - [thinkfan] add package

Could it be possible to add this package :

thinkfan

“A minimalist fan control program. Supports the sysfs hwmon interface and thinkpad_acpi”

License : GPL

to the repo ?

Thanks

fablamar commented on 26.11.2017 19:38

Also need an OpenRC start/stop/status script

fablamar commented on 10.07.2018 09:05

I compiled it myself meanwhile (really needed it), I used the openrc script provided by Gentoo.

This works fine :

#!/usr/bin/openrc-run
# Copyright 2018 Hyperbola Project
# Distributed under the terms of the GNU General Public License v2

extra_started_commands="reload"

depend() {
	after modules
}

start() {
	ebegin "Starting thinkfan"
	start-stop-daemon --start --exec /usr/bin/thinkfan -- -q -s5 -c /etc/thinkfan.conf
	eend $?
}

stop() {
	ebegin "Stopping thinkfan"
	start-stop-daemon --stop --exec /usr/bin/thinkfan
	eend $?
}

reload() {
	PID=$(<@PID_FILE@)
	ebegin "Sending SIGHUP to thinkfan($PID)"
	kill -HUP $PID
	eend $?
}
Date User Effort (H:M)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing