diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-04 18:38:06 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-04 18:38:06 +0100 |
commit | a0e17034eecf3933223503377b5e3f4c4eac0e86 (patch) | |
tree | 54a8e55834ea2445f30a2693b2d464f24e50230a /extras/firmware | |
parent | 4052400fa05d09a12ee89003ce1a74109bb814c3 (diff) |
firmware.sh: record missing files in /dev/.udev/firmware-missing/
Diffstat (limited to 'extras/firmware')
-rwxr-xr-x | extras/firmware/firmware.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/firmware/firmware.sh b/extras/firmware/firmware.sh index 466b653226..eececa85a1 100755 --- a/extras/firmware/firmware.sh +++ b/extras/firmware/firmware.sh @@ -22,4 +22,7 @@ done echo -1 > /sys$DEVPATH/loading err "Cannot find firmware file '$FIRMWARE'" +mkdir -p /dev/.udev/firmware-missing +file=$(echo "$FIRMWARE" | sed 's:/:\\x2f:g') +ln -s -f "$DEVPATH" /dev/.udev/firmware-missing/$file exit 1 |