|
|
@ -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
|
|
|
|
--------------
|
|
|
|
--------------
|
|
|
|