From a840585fe46f48186328fe86916ddaeab85a5caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 24 Nov 2016 13:34:55 +0200 Subject: initramfs-init: check that fbplash image exists first --- initramfs-init.in | 1 + 1 file changed, 1 insertion(+) diff --git a/initramfs-init.in b/initramfs-init.in index da3ee71..5b177a5 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -497,6 +497,7 @@ if [ "$KOPT_splash" != "no" ]; then [ -e "$fbdev" ] || break num="${fbdev#/dev/fb}" for img in /media/*/fbsplash$num.ppm; do + [ -e "$img" ] || break config="${img%.*}.cfg" [ -e "$config" ] || config=/tmp/fbsplash.cfg fbsplash -s "$img" -d "$fbdev" -i "$config" -- cgit v1.2.3