From a0e17034eecf3933223503377b5e3f4c4eac0e86 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 4 Nov 2008 18:38:06 +0100 Subject: [PATCH] firmware.sh: record missing files in /dev/.udev/firmware-missing/ --- extras/firmware/firmware.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/firmware/firmware.sh b/extras/firmware/firmware.sh index 466b6532..eececa85 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 -- 2.39.5