Hi Dean, > Add END {} block to restore fans on many kinds of errors/interrupts. > Remove arugment from restorefans Two questions: 1* What cases are you trying to catch? You already seem to be catching all possible signals. 2* I suspect that the restorefans() function will be called twice more often than not. Since the END block is executed on exit, and restorefans() exits, won't it call itself each time? Thanks. -- Jean Delvare http://khali.linux-fr.org/