Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Auto-start G4FanControl in 10.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Auto-start G4FanControl in 10.5
Authored by: mysty on May 03, '08 01:53:37PM
I think what you want to end up with is something like a /Library/LaunchDaemons/com.your.g4fancontrolStarter.plist that contains something along the lines of the following:

--
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">;
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.your.g4fancontrolStarter</string>
<key>ProgramArguments</key>
<array>
<string>/Users/<YOU>/Scripts/g4fancontrol-startup.sh</string>
</array>
<key>QueueDirectories</key>
<array/>
<key>RunAtLoad</key>
<true/>
<key>WatchPaths</key>
<array/>
</dict>
</plist>
--

My /Users/<YOU>/Scripts/g4fancontrol-startup.sh script looks like

--
#!/bin/sh
/usr/local/bin/g4fancontrol04/g4fancontrol --set 60
--

as this is where I moved the CLI version after make

Note that the value of 60 is the apple default and it is up to you to choose a balance between a warm lap and overworked fans. Your mileage may vary! :)


[ Reply to This | # ]