summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files/00-psplash.sh
diff options
context:
space:
mode:
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