~ubuntu-branches/ubuntu/natty/linux-backports-modules-2.6.38/natty-updates

« back to all changes in this revision

Viewing changes to updates/compat-wireless-2.6.37/compat/scripts/compat_firmware_install

  • Committer: Bazaar Package Importer
  • Author(s): Tim Gardner, Tim Gardner
  • Date: 2011-06-08 10:44:09 UTC
  • Revision ID: james.westby@ubuntu.com-20110608104409-fnl8carkdo15bwsz
Tags: 2.6.38-10.6
[ Tim Gardner ]

Shorten compat-wireless package name to cw to accomodate
CDROM file name length restrictions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
if [ -f /usr/bin/lsb_release ]; then
4
 
        LSB_RED_ID=$(/usr/bin/lsb_release -i -s)
5
 
else
6
 
        LSB_RED_ID="Unknown"
7
 
fi
8
 
 
9
 
case $LSB_RED_ID in
10
 
"Ubuntu")
11
 
        mkdir -p /lib/udev/ /lib/udev/rules.d/
12
 
        cp udev/ubuntu/compat_firmware.sh /lib/udev/
13
 
        cp udev/ubuntu/50-compat_firmware.rules /lib/udev/rules.d/
14
 
        ;;
15
 
*)
16
 
        mkdir -p /lib/udev/ /lib/udev/rules.d/
17
 
        cp udev/compat_firmware.sh /lib/udev/
18
 
        cp udev/50-compat_firmware.rules /lib/udev/rules.d/
19
 
        ;;
20
 
esac
21