Skip to content

Commit

Permalink
Merge pull request #71 from TimothyGu/master
Browse files Browse the repository at this point in the history
README.md: fix indentation of upstart script for enabling graphics on shutdown
  • Loading branch information
Lekensteyn committed Aug 29, 2013
2 parents ee0591b + 4a029bc commit 9eb2e0d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,13 @@ the boot process. On Debian and Ubuntu, this can performed by running

Some machines do not like the card being disabled at shutdown.
Add the next initscript (`/etc/init/bbswitch.conf`) :
description "Save power by disabling nvidia on Optimus"
author "Lekensteyn <[email protected]>"
start on runlevel [2345]
stop on runlevel [016]
pre-start exec /sbin/modprobe bbswitch load_state=0 unload_state=1
pre-stop exec /sbin/rmmod bbswitch

description "Save power by disabling nvidia on Optimus"
author "Lekensteyn <[email protected]>"
start on runlevel [2345]
stop on runlevel [016]
pre-start exec /sbin/modprobe bbswitch load_state=0 unload_state=1
pre-stop exec /sbin/rmmod bbswitch

Reporting bugs
--------------
Expand Down

0 comments on commit 9eb2e0d

Please sign in to comment.