I have an unusual server set-up. Basically, I have a combination of salvaged parts from 3 Powerbook G4s running a non-graphical distribution of lubuntu. Problem is, I'm better with hardware than the software side of things.
I'm powering a USB fan (as all other connectors are gone) that I want to turn on when the CPU reaches a certain temperature. Eventually I'll install a proper temperature sensor, but for now that will have to do.
I'm sure there's a simple script I could write for this which could run in the background monitoring the temperature and enabling power to the USB port. Any ideas? Suggestions?