home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / rescue / etc / sysconfig / hardware / scripts / functions.pci < prev    next >
Text File  |  2006-11-29  |  357b  |  19 lines

  1.  
  2. get_pci_information() {
  3.     case `cat $HWD_DEVICEPATH/class` in
  4.         0x0605*|0x0607*)
  5.             if [ -r /dev/shm/nopcmcia ] ; then
  6.                 mesg "Won't initialize pcmcia due to boot parameter" \
  7.                      "`cat /dev/shm/nopcmcia`"
  8.                 exit 0
  9.             fi
  10.             ;;
  11.     esac
  12. }
  13.  
  14. show_pci_information() {
  15.     if [ -n "$HWD_BUSID" ] ; then
  16.         info_mesg "`lspci -s "$HWD_BUSID" 2>/dev/null`"
  17.     fi
  18. }
  19.