Skip to content

Instantly share code, notes, and snippets.

@khoan
Last active August 29, 2015 14:24
Show Gist options
  • Save khoan/e9ac973a0df9c49b08b9 to your computer and use it in GitHub Desktop.
Save khoan/e9ac973a0df9c49b08b9 to your computer and use it in GitHub Desktop.
start smc fan control for all users
$ cat /Library/LaunchAgents/com.maxfanadjustment.smcfancontrol
<?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.smcFanControl</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/smcfancontrol.app/Contents/Resources/smc</string>
<string>-k F1Mx</string>
<string>-w 1770</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>root</string>
</dict>
$ sudo launchctl load /Library/LaunchAgents/com.maxfanadjustment.smcfancontrol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment