matrix-gui-e: bump PR for init file fixes
[openembedded.git] / recipes / psplash / files / psplash-init
blob04092402329072086de05eda7f1e8f147e9ea785
1 #!/bin/sh
3 if grep -qE '\s?psplash=false\s?' /proc/cmdline; then
4 echo "Boot splashscreen disabled"
5 exit 0;
6 fi
8 . /etc/init.d/functions
9 . /etc/default/psplash
11 case `machine_id` in
12 "hp_ipaq_h3100"|"hp_ipaq_h3800")
13 PARAMS='-a 90' ;;
14 "hp_ipaq_3600"|"hp_ipaq_3700"|"hp_ipaq_h3900"|"htc_universal"|*collie|*poodle|*akita|*spitz|*borzoi)
15 PARAMS='-a 270' ;;
16 esac
18 export TMPDIR=/mnt/.splash
19 mount tmpfs -t tmpfs $TMPDIR -o,size=40k
21 /usr/bin/psplash $PARAMS &
23 # Timetrap against hanging with splash hiding console messages.
24 (sleep 120; psplash-write "QUIT") &