summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/psplash
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/psplash')
-rwxr-xr-xmeta/recipes-core/psplash/files/psplash-init4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init
index f58e043733..e0f80bcdc0 100755
--- a/meta/recipes-core/psplash/files/psplash-init
+++ b/meta/recipes-core/psplash/files/psplash-init
@@ -7,6 +7,9 @@
7# Default-Stop: 7# Default-Stop:
8### END INIT INFO 8### END INIT INFO
9 9
10. /etc/default/rcS
11export PSPLASH_FIFO_DIR
12
10if [ ! -e /dev/fb0 ]; then 13if [ ! -e /dev/fb0 ]; then
11 echo "Framebuffer /dev/fb0 not detected" 14 echo "Framebuffer /dev/fb0 not detected"
12 echo "Boot splashscreen disabled" 15 echo "Boot splashscreen disabled"
@@ -23,7 +26,6 @@ for x in $CMDLINE; do
23 esac 26 esac
24done 27done
25 28
26export PSPLASH_FIFO_DIR=/mnt/.psplash
27[ -d $PSPLASH_FIFO_DIR ] || mkdir -p $PSPLASH_FIFO_DIR 29[ -d $PSPLASH_FIFO_DIR ] || mkdir -p $PSPLASH_FIFO_DIR
28if ! mountpoint -q $PSPLASH_FIFO_DIR; then 30if ! mountpoint -q $PSPLASH_FIFO_DIR; then
29 mount tmpfs -t tmpfs $PSPLASH_FIFO_DIR -o,size=40k 31 mount tmpfs -t tmpfs $PSPLASH_FIFO_DIR -o,size=40k