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 |
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 |