Skip to content

Instantly share code, notes, and snippets.

View xxJohnnyRagexx's full-sized avatar
🔼
Focusing

Sergei Tikhomirov xxJohnnyRagexx

🔼
Focusing
View GitHub Profile
@xxJohnnyRagexx
xxJohnnyRagexx / suspend-modules
Created July 30, 2019 12:32 — forked from mauron85/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