diff --git a/prog/pwm/fancontrol b/prog/pwm/fancontrol index ba181618..d88f431f 100755 --- a/prog/pwm/fancontrol +++ b/prog/pwm/fancontrol @@ -2,7 +2,7 @@ # # Simple script implementing a temperature dependent fan speed control # -# Version 0.62 +# Version 0.63 # # Usage: fancontrol [CONFIGFILE] # @@ -160,7 +160,7 @@ function restorefans() exit 1 } -trap restorefans SIGHUP SIGINT SIGQUIT +trap restorefans SIGHUP SIGINT SIGQUIT SIGTERM SIGKILL # function doing all the math function calc () {