summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-11-23 10:43:28 +0100
committerSebastian Schmelzer2011-11-23 10:43:28 +0100
commit9e2cdc4a5a0da7091e6a56e40a5b6753f1ce634d (patch)
tree82cee5fc47bbb8aba34bda93245699791383b281 /src/os-plugins/plugins/plymouth/init-hooks/00-started/plymouth.sh
parentFIX for failed to read mtab (diff)
parentFurther (irrelevant) adaptations ... (diff)
downloadcore-9e2cdc4a5a0da7091e6a56e40a5b6753f1ce634d.tar.gz
core-9e2cdc4a5a0da7091e6a56e40a5b6753f1ce634d.tar.xz
core-9e2cdc4a5a0da7091e6a56e40a5b6753f1ce634d.zip
Merge branch 'master' of openslx.org:openslx/core
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.sh22
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 ) &