diff options
| -rw-r--r-- | meta/recipes-core/psplash/files/psplash-init | 8 |
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 |
| 27 | done | 27 | done |
| 28 | 28 | ||
| 29 | [ -d $PSPLASH_FIFO_DIR ] || mkdir -p $PSPLASH_FIFO_DIR | 29 | if [ -n "${PSPLASH_FIFO_DIR}" ]; then |
| 30 | if ! 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 | ||
| 32 | fi | 34 | fi |
| 33 | 35 | ||
| 34 | rotation=0 | 36 | rotation=0 |
