Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Hopefully fixed problem with powerup script..

  • Loading branch information...
commit bd5e5a47ed4a62581d74938268ff3210de16cb41 1 parent 822e4df
@MrMEEE authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.