]> git.kernelconcepts.de Git - meta-kc-bsp.git/blob - recipes-bsp/dotsplash/files/dotsplash-init
dotsplash: initial recipe
[meta-kc-bsp.git] / recipes-bsp / dotsplash / files / dotsplash-init
1 #!/bin/sh 
2
3 if grep -qE '\s?psplash=false\s?' /proc/cmdline; then
4         echo "Boot splashscreen disabled"
5         exit 0;
6 fi
7
8 . /etc/init.d/functions
9 . /etc/default/dotplash
10
11 export TMPDIR=/mnt/.splash
12 mount tmpfs -t tmpfs $TMPDIR -o,size=40k
13
14 /usr/bin/dotsplash $PARAMS &
15
16 # Timetrap against hanging with splash hiding console messages.
17 (sleep 120; dotsplash-write "QUIT") &