]> err.no Git - systemd/commitdiff
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 b89b4282c78425e907152ce6d32c2995b3b92022..466b6532266c1e01b45435efbf7c2a0d57e83601 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