summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-01-13 16:01:10 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2009-01-13 16:04:47 -0200
commit1a098e0168ff4ab7a3354a4820e53251a949208e (patch)
treec74d077d2f25dc7e1513a217e5a45d2240450ef7 /packages/initrdscripts/files
parentb4d7f5021fa13e10d908aceb4855e1a378563c80 (diff)
initramfs-module-psplash: add
This is used to make the psplash usage easier for initramfs users. It has been created by O.S. Systems.
Diffstat (limited to 'packages/initrdscripts/files')
-rw-r--r--packages/initrdscripts/files/00-psplash.sh4
-rw-r--r--packages/initrdscripts/files/99-psplash.sh2
2 files changed, 6 insertions, 0 deletions
diff --git a/packages/initrdscripts/files/00-psplash.sh b/packages/initrdscripts/files/00-psplash.sh
new file mode 100644
index 0000000000..491fe13fc3
--- /dev/null
+++ b/packages/initrdscripts/files/00-psplash.sh
@@ -0,0 +1,4 @@
+mkdir -p /mnt/.psplash
+mount tmpfs -t tmpfs /mnt/.psplash -o,size=40k
+
+psplash &
diff --git a/packages/initrdscripts/files/99-psplash.sh b/packages/initrdscripts/files/99-psplash.sh
new file mode 100644
index 0000000000..fa488cff8b
--- /dev/null
+++ b/packages/initrdscripts/files/99-psplash.sh
@@ -0,0 +1,2 @@
+mkdir -p /mnt/mnt/.psplash
+mount -n -o move /mnt/.psplash /mnt/mnt/.psplash