mbpfan is a daemon that uses input from coretemp module and sets the fan speed  using  the
applesmc  module.   This  enhanced version assumes any number of processors and fans (max.10), and it is distro- and kernel-independent.