diff options
Diffstat (limited to 'meta/packages/psplash/files')
-rwxr-xr-x | meta/packages/psplash/files/psplash-init | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/packages/psplash/files/psplash-init b/meta/packages/psplash/files/psplash-init index a966638074..e2c6bf8f5d 100755 --- a/meta/packages/psplash/files/psplash-init +++ b/meta/packages/psplash/files/psplash-init @@ -12,5 +12,10 @@ done export TMPDIR=/mnt/.psplash mount tmpfs -t tmpfs $TMPDIR -o,size=40k -/usr/bin/psplash & +rotation=0 +if [ -e /etc/rotation ]; then + rotation=`cat /etc/rotation` +fi + +/usr/bin/psplash --angle=$rotation & |