diff options
-rwxr-xr-x | meta/recipes-core/sysvinit/sysvinit/rc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/rc b/meta/recipes-core/sysvinit/sysvinit/rc index 7ca41ae1ae..fd1fdd26ba 100755 --- a/meta/recipes-core/sysvinit/sysvinit/rc +++ b/meta/recipes-core/sysvinit/sysvinit/rc | |||
@@ -26,11 +26,8 @@ startup_progress() { | |||
26 | progress=$progress_size | 26 | progress=$progress_size |
27 | fi | 27 | fi |
28 | #echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size" | 28 | #echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size" |
29 | #if type psplash-write >/dev/null 2>&1; then | 29 | if type psplash-write >/dev/null 2>&1; then |
30 | # TMPDIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true | 30 | PSPLASH_FIFO_DIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true |
31 | #fi | ||
32 | if [ -e /mnt/.psplash/psplash_fifo ]; then | ||
33 | echo "PROGRESS $progress" > /mnt/.psplash/psplash_fifo | ||
34 | fi | 31 | fi |
35 | } | 32 | } |
36 | 33 | ||
@@ -176,7 +173,7 @@ startup() { | |||
176 | #Uncomment to cause psplash to exit manually, otherwise it exits when it sees a VC switch | 173 | #Uncomment to cause psplash to exit manually, otherwise it exits when it sees a VC switch |
177 | if [ "x$runlevel" != "xS" ] && [ ! -x /etc/rc${runlevel}.d/S??xserver-nodm ]; then | 174 | if [ "x$runlevel" != "xS" ] && [ ! -x /etc/rc${runlevel}.d/S??xserver-nodm ]; then |
178 | if type psplash-write >/dev/null 2>&1; then | 175 | if type psplash-write >/dev/null 2>&1; then |
179 | TMPDIR=/mnt/.psplash psplash-write "QUIT" || true | 176 | PSPLASH_FIFO_DIR=/mnt/.psplash psplash-write "QUIT" || true |
180 | umount -l /mnt/.psplash | 177 | umount -l /mnt/.psplash |
181 | fi | 178 | fi |
182 | fi | 179 | fi |