mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-10 23:07:55 -05:00
resolve #461
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user