Skip to content

Instantly share code, notes, and snippets.

Avatar
🔼
Focusing

xxJohnnyRagexx

🔼
Focusing
View GitHub Profile
@xxJohnnyRagexx
xxJohnnyRagexx / suspend-modules
Created Jul 30, 2019 — forked from mauron85/suspend-modules
Ubuntu 16.04 systemd unload modules on sleep
View suspend-modules
#!/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