source: src-sh/pc-metapkgmanager/metaset/pcbsd/NVIDIA-Legacy-304/post-install.sh @ 2aba8c5

releng/10.0.1releng/10.0.2
Last change on this file since 2aba8c5 was 2aba8c5, checked in by Ken Moore <ken@…>, 5 months ago

Add a new meta-package for x11/nvidia-driver-304.
This should make it easier to manually select the older NVIDIA driver during installation setup if the user knows they need it.

  • Property mode set to 100644
File size: 192 bytes
Line 
1#!/bin/sh
2
3# Enable loading the nvidia binary driver
4grep '^nvidia_load="YES"' /boot/loader.conf >/dev/null 2>/dev/null
5if [ $? -ne 0 ] ; then
6        echo 'nvidia_load="YES"' >>/boot/loader.conf
7fi
Note: See TracBrowser for help on using the repository browser.