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

svn at pcbsd.org svn at pcbsd.org
Wed Jul 30 11:01:14 PDT 2008


Author: kris
Date: 2008-07-30 11:01:13 -0700 (Wed, 30 Jul 2008)
New Revision: 2495

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

Fixed up some formatting of the generated xorg.conf file. Looks nicer now. Also confirmed
it works with NVIDIA drivers. Still needs testing on ATI / Intel



Modified: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh	2008-07-30 17:24:33 UTC (rev 2494)
+++ pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/setupconf.sh	2008-07-30 18:01:13 UTC (rev 2495)
@@ -81,16 +81,14 @@
 Section \"Monitor\"
     Identifier     \"Monitor${i}\"
     VendorName     \"${MONVENDOR}\"
-    ModelName      \"${MONMODEL}\"
-" >> $TMPFILE
+    ModelName      \"${MONMODEL}\"" >> $TMPFILE
 
 if [ "${HORIZSYNC}" != "OFF" ]
 then
 
 echo "    
     HorizSync    ${HORIZSYNC}
-    VertRefresh  ${VERTREFRESH}
-" >> ${TMPFILE}
+    VertRefresh  ${VERTREFRESH}" >> ${TMPFILE}
 
 else
  # The user didnt specify values so check if we have auto-detected ones
@@ -169,8 +167,8 @@
 fi
 
 echo "Section \"Device\"
-     Identifier      \"Card${i}\"
-     Screen           ${i}" >> ${TMPFILE}
+    Identifier      \"Card${i}\"
+    Screen           ${i}" >> ${TMPFILE}
 
 
 # Copy over the defined template options for the specific driver
@@ -184,7 +182,7 @@
 
 if [ ! -z "${CARDBUS}" ]
 then
-   echo "     BusID      \"${CARDBUS}\"" >> ${TMPFILE}
+   echo "    BusID      \"${CARDBUS}\"" >> ${TMPFILE}
 fi
 
 echo "EndSection



More information about the Commits mailing list