summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/psplash/files/psplash-init8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init
index e0f80bcdc0..69496a48bf 100644
--- a/meta/recipes-core/psplash/files/psplash-init
+++ b/meta/recipes-core/psplash/files/psplash-init
@@ -26,9 +26,11 @@ for x in $CMDLINE; do
26 esac 26 esac
27done 27done
28 28
29[ -d $PSPLASH_FIFO_DIR ] || mkdir -p $PSPLASH_FIFO_DIR 29if [ -n "${PSPLASH_FIFO_DIR}" ]; then
30if ! mountpoint -q $PSPLASH_FIFO_DIR; then 30 [ -d $PSPLASH_FIFO_DIR ] || mkdir -p $PSPLASH_FIFO_DIR
31 mount tmpfs -t tmpfs $PSPLASH_FIFO_DIR -o,size=40k 31 if ! mountpoint -q $PSPLASH_FIFO_DIR ; then
32 mount tmpfs -t tmpfs $PSPLASH_FIFO_DIR -o,size=40k
33 fi
32fi 34fi
33 35
34rotation=0 36rotation=0