aboutsummarylogtreecommitdiffstats
path: root/check_active_gpu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'check_active_gpu.sh')
-rwxr-xr-xcheck_active_gpu.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/check_active_gpu.sh b/check_active_gpu.sh
index a130b04e6cbe..4d9e0b73c030 100755
--- a/check_active_gpu.sh
+++ b/check_active_gpu.sh
@@ -3,12 +3,5 @@
vgaswitcheroo_path='/sys/kernel/debug/vgaswitcheroo/switch'
active_card=`grep '+' $vgaswitcheroo_path|awk '{split($0,a,":"); print a[2]}'`
-if [ "$active_card" == "IGD" ];
-then
- echo "Integrated"
-elif [ "$active_card" == "DIS" ];
-then
- echo "Discrete"
-fi
-
+echo $active_card