summaryrefslogtreecommitdiff
path: root/packages/psplash/files/psplash-init
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-12-15 09:34:33 +0000
committerKoen Kooi <koen@openembedded.org>2006-12-15 09:34:33 +0000
commit031a0ce82393b6079d39c3f90c14f92052a2d6b7 (patch)
tree938baf8c3fa7b5f8894a7207a9253c541c2d3197 /packages/psplash/files/psplash-init
parent4ade3468566f7267a5d59289466d6f9c22f89301 (diff)
psplash: sync with poky
* poky rev #1033: "Allow psplash to be disabled via kernel cmd line" by mallum
Diffstat (limited to 'packages/psplash/files/psplash-init')
-rw-r--r--packages/psplash/files/psplash-init10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/psplash/files/psplash-init b/packages/psplash/files/psplash-init
index 3a5cb653aa..a966638074 100644
--- a/packages/psplash/files/psplash-init
+++ b/packages/psplash/files/psplash-init
@@ -1,6 +1,16 @@
#!/bin/sh
+for x in $(cat /proc/cmdline); do
+ case $x in
+ psplash=false)
+ echo "Boot splashscreen disabled"
+ exit 0;
+ ;;
+ esac
+done
+
export TMPDIR=/mnt/.psplash
mount tmpfs -t tmpfs $TMPDIR -o,size=40k
/usr/bin/psplash &
+