summaryrefslogtreecommitdiffstats
path: root/abs/core/fbsplash/fbsplash.initcpio_install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/fbsplash/fbsplash.initcpio_install
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
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