~alexeftimie/jockey/fix-gobject

« back to all changes in this revision

Viewing changes to examples/modalias-override-generators/fglrx_supported

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2008-01-17 15:02:40 UTC
  • Revision ID: james.westby@ubuntu.com-20080117150240-djmsi8giu255vzzn
Tags: 0.1~r118
* Initial release, result of completely rewriting restricted-manager to be
  maintainable, robust, and suitable for other distributions. Some features
  and the KDE UI still need to be ported.
* See restricted-manager-rewrite specification for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# Install xorg-driver-fglrx, start the script, and put its output to
 
4
# modalias_override/fglrx.
 
5
 
 
6
echo "# Listing generated by fglrx_supported. Do not edit manually."
 
7
 
 
8
[ -e /usr/lib/xorg/modules/drivers/fglrx_drv.so ] || {
 
9
    echo "You need to install the package xorg-driver-fglrx for this script" >&2
 
10
    exit 1
 
11
}
 
12
 
 
13
strings /usr/lib/xorg/modules/drivers/fglrx_drv.so | \
 
14
  sed -n 's/^0x\([0-9A-F]\{4\}\)$/alias pci:v00001002d0000\1sv*sd*bc03sc*i* fglrx/p' | \
 
15
  sort