Skip to content
Browse files

Hopefully fixed problem with powerup script..

  • Loading branch information...
1 parent 822e4df commit bd5e5a47ed4a62581d74938268ff3210de16cb41 @MrMEEE committed Aug 27, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 conf/ironhide-disablecard-on-powerup
View
5 conf/ironhide-disablecard-on-powerup
@@ -7,6 +7,9 @@ DISABLECARD=/usr/local/bin/ironhide-disablecard
## This script disables nVidia card if no optirun is running.
####
if ! pidof -x /usr/bin/optirun /usr/bin/optirun32 /usr/bin/optirun64 >/dev/null; then
- $ENABLECARD
+# $ENABLECARD
+if [[ `lspci -v -s 01:00 | grep "\!" |wc -l` = 0 ]]; then
$DISABLECARD
fi
+
+fi

0 comments on commit bd5e5a4

Please sign in to comment.
Something went wrong with that request. Please try again.