summaryrefslogtreecommitdiff
path: root/recipes/initrdscripts/files/00-psplash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/initrdscripts/files/00-psplash.sh')
-rw-r--r--recipes/initrdscripts/files/00-psplash.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/initrdscripts/files/00-psplash.sh b/recipes/initrdscripts/files/00-psplash.sh
new file mode 100644
index 0000000000..db8aabedd7
--- /dev/null
+++ b/recipes/initrdscripts/files/00-psplash.sh
@@ -0,0 +1,6 @@
+if ! grep -Eq '\s?psplash=false\s?' /proc/cmdline; then
+ mkdir -p /mnt/.psplash
+ mount tmpfs -t tmpfs /mnt/.psplash -o,size=40k
+
+ psplash &
+fi