This commit is contained in:
Konstantinos
2017-04-19 22:02:34 +03:00
parent d317b21a69
commit a7a2adde91

View File

@@ -1333,7 +1333,9 @@ detectgpu () {
# Detect Intel GPU #works in dash
# Run it only on Intel Processors if GPU is unknown
DetectIntelGPU() {
gpu=$(awk '{print $2}' /proc/fb)
if [ -r /proc/fb ]; then
gpu=$(awk '{print $2}' /proc/fb)
fi
case $gpu in
*intel*) gpu=intel ;;
@@ -5380,7 +5382,7 @@ for i in "${display[@]}"; do
done
if [ "$gpu" = 'Not Found' ] ; then
DetectIntelGPU
DetectIntelGPU
fi