From: Kay Sievers Date: Tue, 4 Nov 2008 17:38:06 +0000 (+0100) Subject: firmware.sh: record missing files in /dev/.udev/firmware-missing/ X-Git-Tag: 174~1352 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0e17034eecf3933223503377b5e3f4c4eac0e86;p=systemd firmware.sh: record missing files in /dev/.udev/firmware-missing/ --- 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