summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/psplash/files/psplash-init
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/psplash/files/psplash-init')
-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 fee23e681c..dcb751907f 100755
--- a/meta/recipes-core/psplash/files/psplash-init
+++ b/meta/recipes-core/psplash/files/psplash-init
@@ -25,7 +25,9 @@ done
25 25
26export TMPDIR=/mnt/.psplash 26export TMPDIR=/mnt/.psplash
27[ -d $TMPDIR ] || mkdir -p $TMPDIR 27[ -d $TMPDIR ] || mkdir -p $TMPDIR
28mount tmpfs -t tmpfs $TMPDIR -o,size=40k 28if [ ! mountpoint -q $TMPDIR ]; then
29 mount tmpfs -t tmpfs $TMPDIR -o,size=40k
30fi
29 31
30rotation=0 32rotation=0
31if [ -e /etc/rotation ]; then 33if [ -e /etc/rotation ]; then