Skip to content

Instantly share code, notes, and snippets.

@alirzaev
Created February 21, 2019 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alirzaev/70d917bfa2765e7fb7a0d818457f6617 to your computer and use it in GitHub Desktop.
Save alirzaev/70d917bfa2765e7fb7a0d818457f6617 to your computer and use it in GitHub Desktop.
Fix RTL-8169 Driver on resume from suspend
[Unit]
Description=Fix RTL-8169 Driver on resume from suspend
After=suspend.target
[Service]
User=root
Type=oneshot
ExecStartPre=/sbin/modprobe -r r8169
ExecStart=/sbin/modprobe r8169
TimeoutSec=0
StandardOutput=syslog
[Install]
WantedBy=suspend.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment