aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/initrdscripts/files/99-psplash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/initrdscripts/files/99-psplash.sh')
-rw-r--r--recipes/initrdscripts/files/99-psplash.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/initrdscripts/files/99-psplash.sh b/recipes/initrdscripts/files/99-psplash.sh
new file mode 100644
index 0000000000..3d5f1d60d1
--- /dev/null
+++ b/recipes/initrdscripts/files/99-psplash.sh
@@ -0,0 +1,4 @@
+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