Merge pull request #71 from TimothyGu/master

README.md: fix indentation of upstart script for enabling graphics on shutdown
master
Peter Wu 11 years ago
commit 9eb2e0d3fd

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

Loading…
Cancel
Save