You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env ruby
|
|
|
|
fan_speed = (ARGV.shift || 1100).to_i
|
|
|
|
smc = '~/Applications/smcFanControl.app/Contents/Resources/smc'
|
|
fan_speed = (fan_speed << 2).to_s(16)
|
|
`#{smc} -k F1Mx -w #{fan_speed}` |