summaryrefslogtreecommitdiffstats
path: root/meta/packages/psplash/files/psplash-init
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-03-28 11:00:17 (GMT)
committerRichard Purdie <richard@openedhand.com>2007-03-28 11:00:17 (GMT)
commitd1cc5a3225ddf9acaf88d929f629f17ce902e2ac (patch)
tree5d34b3226b1a02affca6c4d355d46f6aaed69816 /meta/packages/psplash/files/psplash-init
parentbd90b8eebc0f55c2d1511dca54d859710b59007c (diff)
downloadpoky-d1cc5a3225ddf9acaf88d929f629f17ce902e2ac.tar.gz
psplash: Add handling for rotated displays
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1399 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/psplash/files/psplash-init')
-rwxr-xr-xmeta/packages/psplash/files/psplash-init7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/packages/psplash/files/psplash-init b/meta/packages/psplash/files/psplash-init
index a966638..e2c6bf8 100755
--- a/meta/packages/psplash/files/psplash-init
+++ b/meta/packages/psplash/files/psplash-init
@@ -12,5 +12,10 @@ done
12export TMPDIR=/mnt/.psplash 12export TMPDIR=/mnt/.psplash
13mount tmpfs -t tmpfs $TMPDIR -o,size=40k 13mount tmpfs -t tmpfs $TMPDIR -o,size=40k
14 14
15/usr/bin/psplash & 15rotation=0
16if [ -e /etc/rotation ]; then
17 rotation=`cat /etc/rotation`
18fi
19
20/usr/bin/psplash --angle=$rotation &
16 21