Magellan Linux

Diff of /smage/branches/alx-0_6_0/core/grub/alx/files/10_alx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5572 by niro, Mon May 13 12:01:11 2013 UTC revision 5573 by niro, Tue Apr 22 10:51:38 2014 UTC
# Line 67  fi Line 67  fi
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 ]
# Line 101  then Line 101  then
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

Legend:
Removed from v.5572  
changed lines
  Added in v.5573