1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/hwdetect,v 1.7 2008-04-10 20:26:46 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/hwdetect,v 1.8 2008-12-22 22:00:32 niro Exp $ |
3 |
|
|
4 |
# note: must be startet before /etc/rc.d/init.d/modules !!! |
# note: must be startet before /etc/rc.d/init.d/modules !!! |
5 |
|
|
292 |
else |
else |
293 |
# some conservative default values |
# some conservative default values |
294 |
add_x11conf 'Section "Monitor"' |
add_x11conf 'Section "Monitor"' |
295 |
add_x11conf ' Identifier "mon0"' |
add_x11conf ' Identifier "Monitor0"' |
296 |
add_x11conf ' HorizSync 28 - 96' |
add_x11conf ' HorizSync 28 - 96' |
297 |
add_x11conf ' VertRefresh 50-60' |
add_x11conf ' VertRefresh 50-60' |
298 |
add_x11conf ' Option "DPMS"' |
add_x11conf ' Option "DPMS"' |
314 |
then |
then |
315 |
# vmware module has some probs with fb consoles |
# vmware module has some probs with fb consoles |
316 |
# very dirty glyphes appear, so we use vesa instead |
# very dirty glyphes appear, so we use vesa instead |
317 |
[[ ${XMODULE} = vmware ]] && XMODULE="vesa" |
#[[ ${XMODULE} = vmware ]] && XMODULE="vesa" |
318 |
|
|
319 |
# i810 needs the intel-agp kernel module to run probably |
# i810 needs the intel-agp kernel module to run probably |
320 |
[[ ${XMODULE} = i810 ]] && \ |
[[ ${XMODULE} = i810 ]] && \ |
498 |
|
|
499 |
########### main part starts here ############## |
########### main part starts here ############## |
500 |
|
|
501 |
source /etc/sysconfig/rc |
source /etc/conf.d/rc |
502 |
source $rc_functions |
source ${rc_functions} |
503 |
|
|
504 |
case $1 in |
case $1 in |
505 |
start) |
start) |