Magellan Linux

Diff of /trunk/magellan-initscripts/etc/rc.d/init.d/hwdetect

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

revision 779 by niro, Thu Apr 10 20:26:46 2008 UTC revision 780 by niro, Mon Dec 22 22:00:32 2008 UTC
# Line 1  Line 1 
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    
# Line 292  write_x11_config() Line 292  write_x11_config()
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"'
# Line 314  write_x11_config() Line 314  write_x11_config()
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 ]] && \
# Line 498  run_hwdetection() Line 498  run_hwdetection()
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)

Legend:
Removed from v.779  
changed lines
  Added in v.780