-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from TimothyGu/master
README.md: fix indentation of upstart script for enabling graphics on shutdown
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
-------------- | ||
|