Magellan Linux

Diff of /alx-src/branches/alxconf-060/functions/config_x11.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2165 by niro, Wed May 18 14:45:00 2011 UTC revision 2386 by niro, Tue Jun 14 17:20:39 2011 UTC
# Line 124  config_x11() Line 124  config_x11()
124   addconfig ' Option "PasswordFile" "/root/.vnc/passwd"'   addconfig ' Option "PasswordFile" "/root/.vnc/passwd"'
125   fi   fi
126   addconfig 'EndSection'   addconfig 'EndSection'
127    
128     # fixes
129     # disable LVDS-1 on zotacs
130     if [[ ! -z $(hwinfo --bios --storage | grep -i zotac) ]]
131     then
132     CONFIG="/etc/X11/xorg.conf.d/30-fix-zotac.conf"
133     clearconfig
134     addconfig 'Section "Monitor"'
135     addconfig ' Identifier "LVDS1"'
136     addconfig ' Option "Ignore" "True"'
137     addconfig 'EndSection'
138     else
139     # clear this file
140     if [ -f /etc/X11/xorg.conf.d/30-fix-zotac.conf ]
141     then
142     rm /etc/X11/xorg.conf.d/30-fix-zotac.conf
143     fi
144     fi
145  }  }

Legend:
Removed from v.2165  
changed lines
  Added in v.2386