diff options
-rwxr-xr-x | meta/recipes-core/psplash/files/psplash-init | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init index 66c85e9335..0bce1de536 100755 --- a/meta/recipes-core/psplash/files/psplash-init +++ b/meta/recipes-core/psplash/files/psplash-init | |||
@@ -7,6 +7,12 @@ | |||
7 | # Default-Stop: | 7 | # Default-Stop: |
8 | ### END INIT INFO | 8 | ### END INIT INFO |
9 | 9 | ||
10 | if [ ! -e /dev/fb0 ]; then | ||
11 | echo "Framebuffer /dev/fb0 not detected" | ||
12 | echo "Boot splashscreen disabled" | ||
13 | exit 0; | ||
14 | fi | ||
15 | |||
10 | read CMDLINE < /proc/cmdline | 16 | read CMDLINE < /proc/cmdline |
11 | for x in $CMDLINE; do | 17 | for x in $CMDLINE; do |
12 | case $x in | 18 | case $x in |