]> err.no Git - systemd/commitdiff
firmware.sh: record missing files in /dev/.udev/firmware-missing/
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 4 Nov 2008 17:38:06 +0000 (18:38 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 4 Nov 2008 17:38:06 +0000 (18:38 +0100)
extras/firmware/firmware.sh

index 466b6532266c1e01b45435efbf7c2a0d57e83601..eececa85a146210f5116aa9660be6cd50f52fe7e 100755 (executable)
@@ -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