Running scripts before and after suspend with systemd

Postat de: Cristian Gherman

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).
Mai multe aici