Magellan Linux

Diff of /trunk/installer-simple/bin/installer.sh.in

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

revision 2653 by niro, Thu Jul 3 08:01:05 2014 UTC revision 2654 by niro, Thu Jul 3 08:24:39 2014 UTC
# Line 129  run_hardware_detection() Line 129  run_hardware_detection()
129    
130   hwinfo="$(hwinfo --bios --storage --pci --gfxcard --sys)"   hwinfo="$(hwinfo --bios --storage --pci --gfxcard --sys)"
131    
132   ## check for special devices/clients:   # check for special devices/clients:
133   ## if zotac a zotac and the disk is a removeable device, then add rootdelay to kernelcmd   # if zotac a zotac and the disk is a removeable device, then add rootdelay to kernelcmd
134   #local removable=0   local removable=0
135   #if [[ ! -z $(echo "${hwinfo}" | grep -i zotac) ]]   if [[ ! -z $(echo "${hwinfo}" | grep -i zotac) ]]
136   #then   then
137   #for i in /sys/block/[hs]d*/removable   #for i in /sys/block/[hs]d*/removable
138   #do   #do
139   #if [[ $(< ${i}) = 1 ]]   # if [[ $(< ${i}) = 1 ]]
140   #then   # then
141   #removable=1   # removable=1
142   #fi   # fi
143   #done   #done
144   ## smartcard = udevadm info -n /dev/sda -a | grep -i 'configuration.*card'   # smartcard = udevadm info -n /dev/sda -a | grep -i 'configuration.*card'
145    
146   ## only add this for grub legacy, grub2 detect these settings on its own   # only add this for grub legacy, grub2 detect these settings on its own
147   #export GRUBLEGACYOPTS="rootdelay=8"   export GRUBLEGACYOPTS="rootdelay=8"
148   ## there are to zotac types in the wild, nvidia based gfx and intel   # there are to zotac types in the wild, nvidia based gfx and intel
149   #if [[ ! -z $(echo "${hwinfo}" | grep -i nouveau) ]]   if [[ ! -z $(echo "${hwinfo}" | grep -i nouveau) ]]
150   #then   then
151   #export SPECIALDEVICE="zotac_nvidia"   export SPECIALDEVICE="zotac_nvidia"
152   #else   else
153   #export SPECIALDEVICE="zotac_intel"   export SPECIALDEVICE="zotac_intel"
154   #fi   fi
155   #fi   fi
156    
157   # check for special devices/clients:   # check for special devices/clients:
158   # if a rangee and disk ist smaller then 256mb move partion one block further ahead   # if a rangee and disk ist smaller then 256mb move partion one block further ahead

Legend:
Removed from v.2653  
changed lines
  Added in v.2654