diff options
Diffstat (limited to 'meta/recipes-core/psplash/files/psplash-init')
-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 f58e043733..e0f80bcdc0 100755 --- a/meta/recipes-core/psplash/files/psplash-init +++ b/meta/recipes-core/psplash/files/psplash-init | |||
@@ -7,6 +7,9 @@ | |||
7 | # Default-Stop: | 7 | # Default-Stop: |
8 | ### END INIT INFO | 8 | ### END INIT INFO |
9 | 9 | ||
10 | . /etc/default/rcS | ||
11 | export PSPLASH_FIFO_DIR | ||
12 | |||
10 | if [ ! -e /dev/fb0 ]; then | 13 | if [ ! -e /dev/fb0 ]; then |
11 | echo "Framebuffer /dev/fb0 not detected" | 14 | echo "Framebuffer /dev/fb0 not detected" |
12 | echo "Boot splashscreen disabled" | 15 | echo "Boot splashscreen disabled" |
@@ -23,7 +26,6 @@ for x in $CMDLINE; do | |||
23 | esac | 26 | esac |
24 | done | 27 | done |
25 | 28 | ||
26 | export PSPLASH_FIFO_DIR=/mnt/.psplash | ||
27 | [ -d $PSPLASH_FIFO_DIR ] || mkdir -p $PSPLASH_FIFO_DIR | 29 | [ -d $PSPLASH_FIFO_DIR ] || mkdir -p $PSPLASH_FIFO_DIR |
28 | if ! mountpoint -q $PSPLASH_FIFO_DIR; then | 30 | if ! mountpoint -q $PSPLASH_FIFO_DIR; then |
29 | mount tmpfs -t tmpfs $PSPLASH_FIFO_DIR -o,size=40k | 31 | mount tmpfs -t tmpfs $PSPLASH_FIFO_DIR -o,size=40k |