Re: How to execute a scrift after resume from suspend

2016-06-15 Thread Hans
Hi Michael, yes I am using systemd. At the moment I put a script in /lib/systemd/systemd-sleep/ named "fancontrol" which has the only lines #!/bin/bash /etc/init.d/fancontrol restart Seems to work, but as your script is much more professional, I will use that. :) Thanks for it! Best regard

Re: How to execute a scrift after resume from suspend

2016-06-15 Thread Michael Lange
Hi, On Wed, 15 Jun 2016 11:37:43 +0200 Hans wrote: > 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

Re: How to execute a scrift after resume from suspend

2016-06-15 Thread Hans
Ah, thanks, that will help me for now. So I have a point, where to start. I will read and then try some things. If I can manage my problem, I will send a message. Will last some days. Thanks for now! Hans > Note that this might depend on your desktop environment, since those tend > to do man

Re: How to execute a scrift after resume from suspend

2016-06-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 15, 2016 at 11:37:43AM +0200, Hans wrote: > 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.