504 |
export GRUB2GFXPAYLOAD="keep" |
export GRUB2GFXPAYLOAD="keep" |
505 |
fi |
fi |
506 |
|
|
507 |
|
# check for radeon gfxcards |
508 |
|
if [[ ! -z $(echo "${hwinfo}" | grep -i radeon) ]] |
509 |
|
then |
510 |
|
# enable full kms support |
511 |
|
export GRUB2GFXPAYLOAD="keep" |
512 |
|
fi |
513 |
|
|
514 |
# check for special devices/clients: |
# check for special devices/clients: |
515 |
# check for laptops and activate cpufreq scaling |
# check for laptops and activate cpufreq scaling |
516 |
if [[ $(echo "${hwinfo}" | grep 'Formfactor:' | sed 's:.*Formfactor\:\ \"\(.*\)\":\1:') = laptop ]] |
if [[ $(echo "${hwinfo}" | grep 'Formfactor:' | sed 's:.*Formfactor\:\ \"\(.*\)\":\1:') = laptop ]] |