This is the safe shutdown script and python pwm fan control sample code.
User Guide: https://wiki.geekworm.com/X-C1_Software