summaryrefslogtreecommitdiffstats
path: root/meta/packages/psplash/files/psplash-init
diff options
context:
space:
mode:
authorMatthew Allum <mallum@openedhand.com>2006-12-14 11:49:37 (GMT)
committerMatthew Allum <mallum@openedhand.com>2006-12-14 11:49:37 (GMT)
commitda317b2442e90e1152bb521bead18f0a5eee803e (patch)
treea09b69e015b6063cb12a50802423aefb15c3bb83 /meta/packages/psplash/files/psplash-init
parentd557f58dcb0da72f558ac23343a6ce2ce86d0d65 (diff)
downloadpoky-da317b2442e90e1152bb521bead18f0a5eee803e.tar.gz
Allow psplash to be disabled via kernel cmd line
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1033 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/psplash/files/psplash-init')
-rwxr-xr-xmeta/packages/psplash/files/psplash-init9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/packages/psplash/files/psplash-init b/meta/packages/psplash/files/psplash-init
index b736cc6..a966638 100755
--- a/meta/packages/psplash/files/psplash-init
+++ b/meta/packages/psplash/files/psplash-init
@@ -1,5 +1,14 @@
1#!/bin/sh 1#!/bin/sh
2 2
3for x in $(cat /proc/cmdline); do
4 case $x in
5 psplash=false)
6 echo "Boot splashscreen disabled"
7 exit 0;
8 ;;
9 esac
10done
11
3export TMPDIR=/mnt/.psplash 12export TMPDIR=/mnt/.psplash
4mount tmpfs -t tmpfs $TMPDIR -o,size=40k 13mount tmpfs -t tmpfs $TMPDIR -o,size=40k
5 14