Magellan Linux

Diff of /alx-src/branches/alxconf-060/bin/alx-hwdetection.sh

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

revision 5584 by niro, Wed May 29 09:31:01 2013 UTC revision 5585 by niro, Wed Apr 23 13:18:35 2014 UTC
# Line 150  get_system_type() Line 150  get_system_type()
150   local hwinfo   local hwinfo
151   local systemtype   local systemtype
152    
153   hwinfo="$(hwinfo --bios --storage)"   hwinfo="$(hwinfo --bios --storage --gfxcard)"
154    
155   if [[ ! -z $(echo "${hwinfo}" | grep -i zotac) ]]   if [[ ! -z $(echo "${hwinfo}" | grep -i zotac) ]]
156   then   then
# Line 164  get_system_type() Line 164  get_system_type()
164   elif [[ ! -z $(echo "${hwinfo}" | grep -i i815) ]]   elif [[ ! -z $(echo "${hwinfo}" | grep -i i815) ]]
165   then   then
166   systemtype="maxdata"   systemtype="maxdata"
167     elif [[ ! -z $(echo "${hwinfo}" | grep -i i845) ]]
168     then
169     systemtype="i845"
170   else   else
171   systemtype="standard"   systemtype="standard"
172   fi   fi

Legend:
Removed from v.5584  
changed lines
  Added in v.5585