compat: backport usb_alloc_coherent() and usb_free_coherent()
[~emulex/for-vlad/old/compat.git] / scripts / compat_firmware_install
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         cp udev/ubuntu/compat_firmware.sh /lib/udev/
12         cp udev/ubuntu/50-compat_firmware.rules /lib/udev/rules.d/
13         ;;
14 *)
15         cp udev/compat_firmware.sh /lib/udev/
16         cp udev/50-compat_firmware.rules /lib/udev/rules.d/
17         ;;
18 esac
19