[PC-BSD Commits] r687 - pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin

svn at pcbsd.org svn at pcbsd.org
Mon Sep 10 09:16:33 PDT 2007


Author: kris
Date: 2007-09-10 09:16:33 -0700 (Mon, 10 Sep 2007)
New Revision: 687

Modified:
   pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh
Log:

Made relevant change to the xorg generation script to ignore the
horz/vert refreshs if the user didn't specify any




Modified: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh	2007-09-10 16:14:44 UTC (rev 686)
+++ pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh	2007-09-10 16:16:33 UTC (rev 687)
@@ -34,11 +34,16 @@
     ModelName      "Generic"
 ' >> $TMPFILE
 
+if [ "${HORIZSYNC}" != "OFF" ]
+then
+
 echo "    
     HorizSync    ${HORIZSYNC}
     VertRefresh  ${VERTREFRESH}
 " >> ${TMPFILE}
 
+fi
+
 # Setup resolution modeline with GTF
 XRES="`echo $RES | cut -d 'x' -f 1`"
 YRES="`echo $RES | cut -d 'x' -f 2`"



More information about the Commits mailing list