summaryrefslogtreecommitdiffstats
path: root/meta/packages/psplash/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/psplash/files')
-rwxr-xr-xmeta/packages/psplash/files/psplash-init5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/packages/psplash/files/psplash-init b/meta/packages/psplash/files/psplash-init
index ea370d622b..66c85e9335 100755
--- a/meta/packages/psplash/files/psplash-init
+++ b/meta/packages/psplash/files/psplash-init
@@ -7,7 +7,8 @@
7# Default-Stop: 7# Default-Stop:
8### END INIT INFO 8### END INIT INFO
9 9
10for x in $(cat /proc/cmdline); do 10read CMDLINE < /proc/cmdline
11for x in $CMDLINE; do
11 case $x in 12 case $x in
12 psplash=false) 13 psplash=false)
13 echo "Boot splashscreen disabled" 14 echo "Boot splashscreen disabled"
@@ -21,7 +22,7 @@ mount tmpfs -t tmpfs $TMPDIR -o,size=40k
21 22
22rotation=0 23rotation=0
23if [ -e /etc/rotation ]; then 24if [ -e /etc/rotation ]; then
24 rotation=`cat /etc/rotation` 25 read rotation < /etc/rotation
25fi 26fi
26 27
27/usr/bin/psplash --angle $rotation & 28/usr/bin/psplash --angle $rotation &