Running scripts before and after suspend with systemd

Postat de: Cristian Gherman
http://blog.christophersmart.com/2016/05/11/running-scripts-before-and-after-suspend-with-systemd/

If you want to do something before you suspend, like unload a module or run some script, it’s quite easy with systemd. Similarly, you can easily do something when the system resumes (like reload the module).

blog.christophersmart.com
Mai multe aici