Files
poky/meta/packages/psplash/files/psplash-init
Richard Purdie 1155c57880 psplash: fix typo
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1400 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-28 11:16:55 +00:00

356 B
Executable File

#!/bin/sh

for x in $(cat /proc/cmdline); do case $x in psplash=false) echo "Boot splashscreen disabled" exit 0; ;; esac done

export TMPDIR=/mnt/.psplash mount tmpfs -t tmpfs $TMPDIR -o,size=40k

rotation=0 if [ -e /etc/rotation ]; then rotation=cat /etc/rotation fi

/usr/bin/psplash --angle $rotation &