diff options
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 ) & |