From 401a104803e9743eb62a9485779bfa8237694c46 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 18 Nov 2011 16:47:23 +0100 Subject: plymouth powered bootsplash plugin --- .../plymouth/init-hooks/00-started/plymouth.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh (limited to 'src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh') diff --git a/src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh b/src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh new file mode 100644 index 00000000..ab8c9346 --- /dev/null +++ b/src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh @@ -0,0 +1,22 @@ + ( hwinfo --gfxcard >/etc/hwinfo.gfxcard + case $(cat /etc/hwinfo.gfxcard) in + *i915*) + modprobe -a ${MODPRV} i915 2>/dev/null + ;; + *intel*|*Intel*) + modprobe -a ${MODPRV} i810 i830 i915 2>/dev/null + ;; + *nvidia*|*NVidia*|*nouveau*) + modprobe ${MODPRV} nouveau 2>/dev/null + ;; + *radeon*|*Radeon*) + modprobe ${MODPRV} radeon 2>/dev/null + ;; + *mga*|*matrox*|*Matrox*) + modprobe ${MODPRV} mga 2>/dev/null + ;; + *) + modprobe -a ${MODPRV} r128 savage sis tdfx ttm via + ;; + esac + modprobe -a drm fbcon; mdev -s ) & -- cgit v1.2.3-55-g7522