summaryrefslogtreecommitdiff
path: root/x11-misc/bumblebee/files/bbswitch-setup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-04-18 12:05:36 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-04-18 12:05:36 +0100
commit1692cd5d58d5b11d06a2ce084b657e6e944564a7 (patch)
treee2ba3e8d1e4c97cf0c63cbeb99ecc376968c15b6 /x11-misc/bumblebee/files/bbswitch-setup
parentf3dbb1b4256695333dfb63b7ff27439d120329f2 (diff)
update bumblebee openrc initscript to catch nvidia_drm && nvidia_modeset modules
Diffstat (limited to 'x11-misc/bumblebee/files/bbswitch-setup')
-rw-r--r--x11-misc/bumblebee/files/bbswitch-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-misc/bumblebee/files/bbswitch-setup b/x11-misc/bumblebee/files/bbswitch-setup
index 7f6c7249..6f265ffd 100644
--- a/x11-misc/bumblebee/files/bbswitch-setup
+++ b/x11-misc/bumblebee/files/bbswitch-setup
@@ -9,7 +9,7 @@ start() {
ebegin "Setting up bbswitch"
# make sure that the nvidia and nouveau modules are
# removed, then reload bbswitch.
- for mod in nvidia nouveau; do
+ for mod in nvidia nvidia_drm nvidia_modeset nouveau; do
modprobe -r ${mod} 2> /dev/null # best effort
done
# reload bbswitch now