diff options
| -rwxr-xr-x | meta/recipes-core/psplash/files/psplash-init | 4 |
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 | ||
| 26 | export TMPDIR=/mnt/.psplash | 26 | export TMPDIR=/mnt/.psplash |
| 27 | [ -d $TMPDIR ] || mkdir -p $TMPDIR | 27 | [ -d $TMPDIR ] || mkdir -p $TMPDIR |
| 28 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k | 28 | if [ ! mountpoint -q $TMPDIR ]; then |
| 29 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k | ||
| 30 | fi | ||
| 29 | 31 | ||
| 30 | rotation=0 | 32 | rotation=0 |
| 31 | if [ -e /etc/rotation ]; then | 33 | if [ -e /etc/rotation ]; then |
