tech:unix:imac-fan
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tech:unix:imac-fan [2025/07/19 14:07] – ayush.zutshi | tech:unix:imac-fan [2025/09/04 21:58] (current) – ayush.zutshi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Fan Cntrol | + | ====== Fan Control |
| I replaced an HDD with and SSD in an old 2009 iMac, disabled the CDROM. | I replaced an HDD with and SSD in an old 2009 iMac, disabled the CDROM. | ||
| - | Manually set the "odd" | + | Manually set the "cpu", " |
| < | < | ||
| - | fan.sh odd 0 | + | apt install lm-sensors |
| - | fan.sh hdd 0 | + | ./fan.sh odd 0 |
| + | ./fan.sh hdd 0 # if using an SSD | ||
| + | ./fan.sh cpu 50 # for the iMac8,1 | ||
| </ | </ | ||
| Line 28: | Line 30: | ||
| read -r label[$fan] < " | read -r label[$fan] < " | ||
| label[$fan]=${label[$fan],, | label[$fan]=${label[$fan],, | ||
| - | echo label[$fan] " | + | echo $(cat $sysdir/fan${fan}_label) |
| } | } | ||
tech/unix/imac-fan.1752934041.txt.gz · Last modified: by ayush.zutshi