firmware.sh: lookup lookup kernel provided firmware directory
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 29 Aug 2008 19:00:43 +0000 (21:00 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 29 Aug 2008 19:00:43 +0000 (21:00 +0200)
extras/firmware/firmware.sh

index b89b428..466b653 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
-FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware"
+FIRMWARE_DIRS="/lib/firmware/$(uname -r) /lib/firmware"
 
 err() {
        echo "$@" >&2