[PC-BSD Commits] r6195 - pcbsd/trunk/XGUISource/resources/templates/scripts

svn at pcbsd.org svn at pcbsd.org
Mon Feb 8 07:51:10 PST 2010


Author: kris
Date: 2010-02-08 07:51:10 -0800 (Mon, 08 Feb 2010)
New Revision: 6195

Modified:
   pcbsd/trunk/XGUISource/resources/templates/scripts/nvidia.sh
Log:

Make sure to disable built-in agp for nvidia cards



Modified: pcbsd/trunk/XGUISource/resources/templates/scripts/nvidia.sh
===================================================================
--- pcbsd/trunk/XGUISource/resources/templates/scripts/nvidia.sh	2010-02-08 15:36:35 UTC (rev 6194)
+++ pcbsd/trunk/XGUISource/resources/templates/scripts/nvidia.sh	2010-02-08 15:51:10 UTC (rev 6195)
@@ -121,3 +121,9 @@
 then
   echo "nvidia_load=\"YES\"" >> /boot/loader.conf
 fi
+
+cat /boot/device.hints | grep "hint.agp.0.disabled" >/dev/null 2>/dev/null
+if [ "${?}" != "0" ]
+then
+  echo "hint.agp.0.disabled=\"1\"" >> /boot/device.hints
+fi



More information about the Commits mailing list