summaryrefslogtreecommitdiffstats
path: root/abs/core/fbsplash/fbsplash.initcpio_install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/fbsplash/fbsplash.initcpio_install')
-rw-r--r--abs/core/fbsplash/fbsplash.initcpio_install29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/fbsplash/fbsplash.initcpio_install b/abs/core/fbsplash/fbsplash.initcpio_install
new file mode 100644
index 0000000..3fdd7e9
--- /dev/null
+++ b/abs/core/fbsplash/fbsplash.initcpio_install
@@ -0,0 +1,29 @@
+
+install() {
+ [ -x /sbin/fbcondecor_helper ] || return 1
+
+ source /etc/conf.d/fbsplash.conf
+ [ -z "${THEME}" ] && THEME="linhes"
+
+ add_binary "/sbin/fbcondecor_helper"
+
+ add_device "/dev/null" c 1 3
+ add_device "/dev/console" c 5 1
+ add_device "/dev/tty0" c 4 0
+
+ for DIR in /dev /dev/fb /dev/misc /dev/vc /lib/splash/proc /lib/splash/sys
+ do
+ add_dir ${DIR}
+ done
+
+ for THEME in ${THEMES}
+ do
+ add_full_dir "/etc/splash/${THEME}"
+ done
+}
+
+help() {
+ echo "This hook includes Fbsplash in the initramfs image."
+}
+
+#EOF