Skip to content

Instantly share code, notes, and snippets.

@anatooly
Created June 26, 2013 18:01
Show Gist options
  • Save anatooly/5869765 to your computer and use it in GitHub Desktop.
Save anatooly/5869765 to your computer and use it in GitHub Desktop.
sudo nano /etc/rc.local
sleep 15
chown anatooly /sys/kernel/debug/
chown anatooly /sys/kernel/debug/vgaswitcheroo/switch
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
exit 0
sudo nano /etc/fstab
debugfs /sys/kernel/debug debugfs default 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment