summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files/00-psplash.sh
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2009-02-24 09:36:26 -0500
committerCliff Brake <cbrake@bec-systems.com>2009-02-24 09:36:26 -0500
commitcdbe198009d0b73bca24ae7aada4401ae2f0b630 (patch)
tree5325d3a2d3790616b37a37d3ec063d4a5163573c /packages/initrdscripts/files/00-psplash.sh
parentab066eb3b73656186a445667aa4f8c46b48644b3 (diff)
parentd4ed85c5499e8eb693b7564e60d7038598659e51 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/initrdscripts/files/00-psplash.sh')
-rw-r--r--packages/initrdscripts/files/00-psplash.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/initrdscripts/files/00-psplash.sh b/packages/initrdscripts/files/00-psplash.sh
index 491fe13fc3..db8aabedd7 100644
--- a/packages/initrdscripts/files/00-psplash.sh
+++ b/packages/initrdscripts/files/00-psplash.sh
@@ -1,4 +1,6 @@
-mkdir -p /mnt/.psplash
-mount tmpfs -t tmpfs /mnt/.psplash -o,size=40k
+if ! grep -Eq '\s?psplash=false\s?' /proc/cmdline; then
+ mkdir -p /mnt/.psplash
+ mount tmpfs -t tmpfs /mnt/.psplash -o,size=40k
-psplash &
+ psplash &
+fi