Skip to content

Instantly share code, notes, and snippets.

View xxJohnnyRagexx's full-sized avatar
🔼
Focusing

Sergei Tikhomirov xxJohnnyRagexx

🔼
Focusing
View GitHub Profile
@mauron85
mauron85 / suspend-modules
Last active October 13, 2024 16:26 — forked from anonymous/suspend-modules
Ubuntu 16.04 systemd unload modules on sleep
#!/bin/bash
# Put into /lib/systemd/system-sleep/suspend-modules
# chmod a+x /lib/systemd/system-sleep/suspend-modules
# Create /etc/suspend-modules.conf
# with one module per line
# credits to:
# https://bbs.archlinux.org/viewtopic.php?pid=1540125#p1540125