Skip to content

Instantly share code, notes, and snippets.

@davispuh
Last active August 29, 2015 14:27
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 davispuh/0eba8609e333b82114d0 to your computer and use it in GitHub Desktop.
Save davispuh/0eba8609e333b82114d0 to your computer and use it in GitHub Desktop.
Switch to NVIDIA module
[Unit]
Description=Nvidia Switch
DefaultDependencies=no
After=plymouth-quit.service plymouth-quit-wait.service
Before=display-manager.service
[Service]
ExecStart=/bin/switch-modules.sh nvidia
Type=oneshot
KillMode=none
SendSIGKILL=no
[Install]
WantedBy=sysinit.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment