home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / acpi / suspend.d / 80-video-pci-state.sh < prev    next >
Encoding:
Text File  |  2006-10-15  |  224 b   |  10 lines

  1. # Save video PCI state?
  2. if [ x$SAVE_VIDEO_PCI_STATE = xtrue ]; then
  3.   for x in /sys/bus/pci/devices/*; do
  4.     if [ `cat $x/class` = "0x030000" ]; then
  5.         cat $x/config >/var/run/vga-pci-`basename $x`;
  6.     fi
  7.   done
  8. fi
  9.  
  10.