Skip to content

Instantly share code, notes, and snippets.

@rahulkmr
Last active December 17, 2015 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulkmr/5693484 to your computer and use it in GitHub Desktop.
Save rahulkmr/5693484 to your computer and use it in GitHub Desktop.
author "Rahul Kumar <rahul@thoughtnirvana.com>"
description "Disable ATI cards at start-up"
start on desktop-session-start
exec echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
@rahulkmr
Copy link
Author

rahulkmr commented Jun 2, 2013

enable_ati.conf

author "Rahul Kumar rahul@thoughtnirvana.com"
description "Disable ATI cards at start-up"
start on runlevel [016]
exec echo ON > /sys/kernel/debug/vgaswitcheroo/switch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment