From 3aeda088d2622fd2826d965081312fffd535f2c2 Mon Sep 17 00:00:00 2001 From: pulux Date: Sun, 3 May 2015 14:03:31 +0200 Subject: [PATCH] add service script for thinkfan --- srcpkgs/thinkfan/files/thinkfan/run | 3 +++ srcpkgs/thinkfan/template | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 srcpkgs/thinkfan/files/thinkfan/run diff --git a/srcpkgs/thinkfan/files/thinkfan/run b/srcpkgs/thinkfan/files/thinkfan/run new file mode 100755 index 00000000000..96a0c591515 --- /dev/null +++ b/srcpkgs/thinkfan/files/thinkfan/run @@ -0,0 +1,3 @@ +#!/bin/sh +exec 2>&1 +exec thinkfan -nq diff --git a/srcpkgs/thinkfan/template b/srcpkgs/thinkfan/template index 72fb016a901..f2cc16a6c2d 100644 --- a/srcpkgs/thinkfan/template +++ b/srcpkgs/thinkfan/template @@ -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 }