[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to execute a scrift after resume from suspend



Hi folks, 

is there a debian way, to execute a script after resume from suspend?

I need to execute the command

/etc/init.d/fancontrol restart

after the system is awaken again. As I am using plasma5, there is an option, 
to execute my own script. However, it is necessary, to run this command as 
root. 

At the moment I do this manually, which is a little bit annoying, so it would 
be nice, if there is an automatic solution.

Thanks for any hints.

Best

Hans


Reply to: