summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files/99-psplash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initrdscripts/files/99-psplash.sh')
-rw-r--r--packages/initrdscripts/files/99-psplash.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/initrdscripts/files/99-psplash.sh b/packages/initrdscripts/files/99-psplash.sh
index fa488cff8b..3d5f1d60d1 100644
--- a/packages/initrdscripts/files/99-psplash.sh
+++ b/packages/initrdscripts/files/99-psplash.sh
@@ -1,2 +1,4 @@
-mkdir -p /mnt/mnt/.psplash
-mount -n -o move /mnt/.psplash /mnt/mnt/.psplash
+if ! grep -Eq '\s?psplash=false\s?' /proc/cmdline; then
+ mkdir -p /mnt/mnt/.psplash
+ mount -n -o move /mnt/.psplash /mnt/mnt/.psplash
+fi