1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-04 02:00:04 +00:00
Files
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

22 lines
356 B
Bash
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 &