diff options
author | Matthew Allum <mallum@openedhand.com> | 2006-12-14 11:49:37 +0000 |
---|---|---|
committer | Matthew Allum <mallum@openedhand.com> | 2006-12-14 11:49:37 +0000 |
commit | da317b2442e90e1152bb521bead18f0a5eee803e (patch) | |
tree | a09b69e015b6063cb12a50802423aefb15c3bb83 /meta/packages/psplash/files/psplash-init | |
parent | d557f58dcb0da72f558ac23343a6ce2ce86d0d65 (diff) | |
download | poky-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-x | meta/packages/psplash/files/psplash-init | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/packages/psplash/files/psplash-init b/meta/packages/psplash/files/psplash-init index b736cc6375..a966638074 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 | ||
3 | for x in $(cat /proc/cmdline); do | ||
4 | case $x in | ||
5 | psplash=false) | ||
6 | echo "Boot splashscreen disabled" | ||
7 | exit 0; | ||
8 | ;; | ||
9 | esac | ||
10 | done | ||
11 | |||
3 | export TMPDIR=/mnt/.psplash | 12 | export TMPDIR=/mnt/.psplash |
4 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k | 13 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k |
5 | 14 | ||