summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xextras/firmware/firmware.sh3
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