[PC-BSD Commits] r276 - pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin
svn at pcbsd.org
svn at pcbsd.org
Mon Jun 4 08:47:10 PDT 2007
Author: kris
Date: 2007-06-04 16:47:10 +0100 (Mon, 04 Jun 2007)
New Revision: 276
Modified:
pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh
Log:
Setup xconfig script to add / remove nvidia support on the fly
Modified: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh 2007-06-04 15:15:20 UTC (rev 275)
+++ pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh 2007-06-04 15:47:10 UTC (rev 276)
@@ -63,6 +63,9 @@
if [ "${DRIVER}" = "nvidia" ]
then
+# Add the nvidia driver to the system
+pkg_add -f /PCBSD/packages/nvidia*.tbz
+
rm /PCBSD/conf/beryl-enable
#Check if the driver is already loaded
@@ -83,6 +86,10 @@
# If the user didn't select nVidia driver, make sure its not loaded
else
+
+# Remove the nvidia driver from the system
+pkg_delete -f nvidia-driver*
+
rm /PCBSD/conf/beryl-enable
#Check if the driver is already loaded
More information about the Commits
mailing list