diff options
author | Jonathan Bauer | 2011-11-18 16:47:23 +0100 |
---|---|---|
committer | Jonathan Bauer | 2011-11-18 16:47:23 +0100 |
commit | 401a104803e9743eb62a9485779bfa8237694c46 (patch) | |
tree | 011534a0fb339d66f017ff026f30e6f8acd6ac58 /src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh | |
parent | quick fix for udhcpc error with new bb version (diff) | |
download | core-401a104803e9743eb62a9485779bfa8237694c46.tar.gz core-401a104803e9743eb62a9485779bfa8237694c46.tar.xz core-401a104803e9743eb62a9485779bfa8237694c46.zip |
plymouth powered bootsplash plugin
Diffstat (limited to 'src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh')
-rw-r--r-- | src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh | 22 |
1 files changed, 22 insertions, 0 deletions
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 ) & |