Merge pull request #1493 from pulux/thinkfan_start
thinkfan: add service script
This commit is contained in:
commit
4c7abbe708
2 changed files with 5 additions and 1 deletions
3
srcpkgs/thinkfan/files/thinkfan/run
Executable file
3
srcpkgs/thinkfan/files/thinkfan/run
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
exec thinkfan -nq
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'thinkfan'
|
||||
pkgname=thinkfan
|
||||
version=0.9.2
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=${pkgname}-${version}
|
||||
create_wrksrc=yes
|
||||
build_style=cmake
|
||||
|
@ -25,4 +25,5 @@ do_install() {
|
|||
|
||||
vmkdir usr/lib/modprobe.d
|
||||
vinstall ${FILESDIR}/thinkpad_acpi.conf 644 usr/lib/modprobe.d
|
||||
vsv thinkfan
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue