diff options
Diffstat (limited to 'poky/meta/recipes-core/psplash/files/psplash-init')
-rwxr-xr-x | poky/meta/recipes-core/psplash/files/psplash-init | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/poky/meta/recipes-core/psplash/files/psplash-init b/poky/meta/recipes-core/psplash/files/psplash-init index 0bce1de53..dcb751907 100755 --- a/poky/meta/recipes-core/psplash/files/psplash-init +++ b/poky/meta/recipes-core/psplash/files/psplash-init @@ -24,7 +24,10 @@ for x in $CMDLINE; do done export TMPDIR=/mnt/.psplash -mount tmpfs -t tmpfs $TMPDIR -o,size=40k +[ -d $TMPDIR ] || mkdir -p $TMPDIR +if [ ! mountpoint -q $TMPDIR ]; then + mount tmpfs -t tmpfs $TMPDIR -o,size=40k +fi rotation=0 if [ -e /etc/rotation ]; then |