Subversion Repositories livecd

Rev

Rev 210 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 210 Rev 216
Line 185... Line 185...
185
    if [ "$?" = "0" ]; then
185
    if [ "$?" = "0" ]; then
186
	chkconfig ipw3945d on 2>/dev/null
186
	chkconfig ipw3945d on 2>/dev/null
187
    fi
187
    fi
188
fi
188
fi
189
 
189
 
190
### enable 915resolution on Intel Mobile Display controller
190
### enable 915resolution on Intel Mobile Display controller, if screen= is given
191
#   and set resolution in /etc/sysconfig/915resolution defined by screen=
191
#   and set correct resolution in /etc/sysconfig/915resolution
192
lspci | grep -q Display.*Intel.*Mobile
192
lspci | grep -q Display.*Intel.*Mobile
193
if [ "$?" = "0" ]; then 
193
if [ "$?" = "0" ] && [ $SCREEN ]; then 
194
    chkconfig 915resolution on 2>/dev/null
194
    chkconfig 915resolution on 2>/dev/null
195
    if [ -e /etc/sysconfig/915resolution ]; then
195
    if [ -e /etc/sysconfig/915resolution ]; then
196
	X=$( echo $SCREEN | cut -d"x" -f1 )
196
	X=$( echo $SCREEN | cut -d"x" -f1 )
197
	Y=$( echo $SCREEN | cut -d"x" -f2 )
197
	Y=$( echo $SCREEN | cut -d"x" -f2 )
198
	if [ $X ]; then
198
	if [ $X ]; then