67 |
# check for special hardware |
# check for special hardware |
68 |
if [ -x "`which hwinfo`" ] |
if [ -x "`which hwinfo`" ] |
69 |
then |
then |
70 |
hwinfo="`hwinfo --bios --storage --pci`" |
hwinfo="`hwinfo --bios --storage --pci --gfxcard`" |
71 |
|
|
72 |
# zotac |
# zotac |
73 |
if [ "x`echo ${hwinfo} | grep -i zotac 2> /dev/null || true`" != x ] |
if [ "x`echo ${hwinfo} | grep -i zotac 2> /dev/null || true`" != x ] |
101 |
# disable bootsplash for i845, which must have kms, but fbmode is not supported with kms |
# disable bootsplash for i845, which must have kms, but fbmode is not supported with kms |
102 |
if [ "x`echo ${hwinfo} | grep -i i845 2> /dev/null || true`" != x ] |
if [ "x`echo ${hwinfo} | grep -i i845 2> /dev/null || true`" != x ] |
103 |
then |
then |
104 |
GRUB_CMDLINE_LINUX="splash=verbose,theme=default ${GRUB_CMDLINE_LINUX}" |
# remove "video=" opt from cmdline |
105 |
|
for i in ${GRUB_CMDLINE_LINUX_DEFAULT} |
106 |
|
do |
107 |
|
case ${i} in |
108 |
|
video=*) continue ;; |
109 |
|
*) __grub_opts="${__grub_opts} ${i}" ;; |
110 |
|
esac |
111 |
|
done |
112 |
|
GRUB_CMDLINE_LINUX_DEFAULT="${__grub_opts}" |
113 |
|
# enable full kms support |
114 |
|
GRUB_GFXPAYLOAD_LINUX="keep" |
115 |
fi |
fi |
116 |
|
|
117 |
# disable KMS for Radeon RV250 |
# disable KMS for Radeon RV250 |