diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-31 16:08:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-31 16:08:27 +0000 |
commit | 53d20d9f7c06fbe957be0ec9f5455574db7e6677 (patch) | |
tree | e17b6ddd8f25ad44b334fb6e3d8707e8e88d3d0e /x11-misc/bumblebee/files/bbswitch-setup | |
parent | ccaa7664498ab56de5e05d0b0d3c0d45fb010c2e (diff) |
x11-misc/{bumblebee,primus} : drop
Diffstat (limited to 'x11-misc/bumblebee/files/bbswitch-setup')
-rw-r--r-- | x11-misc/bumblebee/files/bbswitch-setup | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/x11-misc/bumblebee/files/bbswitch-setup b/x11-misc/bumblebee/files/bbswitch-setup deleted file mode 100644 index ab00ae03..00000000 --- a/x11-misc/bumblebee/files/bbswitch-setup +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -start() { - # workaround the fact that udev may have loaded nvidia or nouveau - # and bbswitch refuses to turn off the card. - ebegin "Setting up bbswitch" - # make sure that the nvidia and nouveau modules are - # removed, then reload bbswitch. - for mod in nvidia nvidia_drm nvidia_modeset nouveau; do - modprobe -r ${mod} 2> /dev/null # best effort - done - # reload bbswitch now - modprobe -r bbswitch - modprobe bbswitch # this inherits the options - eend 0 -} - |