Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2011 18:45:31 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-ppc@freebsd.org
Subject:   Re: PowerMac G5 Quad - fan control?
Message-ID:  <20110320184531.00e97209.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <4D7D2935.3070903@freebsd.org>
References:  <20110312151608.b3240f3d.torfinn.ingolfsen@broadpark.no> <4D7BAA4E.4070908@freebsd.org> <20110313212348.a4fd91cb.torfinn.ingolfsen@broadpark.no> <4D7D2935.3070903@freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, 13 Mar 2011 15:29:41 -0500
Nathan Whitehorn <nwhitehorn@freebsd.org> wrote:

> I run mine from rc.local like this:
> /usr/bin/thermald > /dev/null &

I made a small script /usr/local/etc/rc.d/thermald to start the fan control program
(attached). I have put mine in /usr/local/bin/thermald and made it dependant on FILESYSTEMS.

On my machine, the fans just start to get louder in before the script  kicks in.
HTH
-- 
Torfinn


[-- Attachment #2 --]
#!/bin/sh
#

# PROVIDE: thermald
# REQUIRE: FILESYSTEMS

. /etc/rc.subr

name=thermald
rcvar=`set_rcvar`
command="/usr/local/bin/${name}"
command_args=" > /dev/null &"

load_rc_config $name
run_rc_command "$1"
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110320184531.00e97209.torfinn.ingolfsen>