maybe chmod 0644 'brltty/Text/telugu.tti'
maybe chmod 0644 'brltty/Text/tr.ttb'
maybe chmod 0644 'brltty/Text/vi.ttb'
+maybe chmod 0755 'bumblebee'
+maybe chmod 0644 'bumblebee/bumblebee.conf'
+maybe chmod 0755 'bumblebee/xorg.conf.d'
+maybe chmod 0644 'bumblebee/xorg.conf.d/10-dummy.conf'
+maybe chmod 0644 'bumblebee/xorg.conf.nouveau'
+maybe chmod 0644 'bumblebee/xorg.conf.nvidia'
maybe chmod 0755 'ca-certificates'
maybe chmod 0644 'ca-certificates.conf'
maybe chmod 0755 'ca-certificates/update.d'
maybe chmod 0755 'init.d/bluetooth'
maybe chmod 0755 'init.d/bootmisc.sh'
maybe chmod 0755 'init.d/brltty'
+maybe chmod 0755 'init.d/bumblebeed'
maybe chmod 0755 'init.d/checkfs.sh'
maybe chmod 0755 'init.d/checkroot-bootclean.sh'
maybe chmod 0755 'init.d/checkroot.sh'
maybe chmod 0644 'modprobe.d/blacklist-rare-network.conf'
maybe chmod 0644 'modprobe.d/blacklist-watchdog.conf'
maybe chmod 0644 'modprobe.d/blacklist.conf'
+maybe chmod 0644 'modprobe.d/bumblebee.conf'
maybe chmod 0644 'modprobe.d/dkms.conf'
maybe chmod 0644 'modprobe.d/intel-microcode-blacklist.conf'
maybe chmod 0644 'modprobe.d/iwlwifi.conf'
--- /dev/null
+# Configuration file for Bumblebee. Values should **not** be put between quotes
+
+## Server options. Any change made in this section will need a server restart
+# to take effect.
+[bumblebeed]
+# The secondary Xorg server DISPLAY number
+VirtualDisplay=:8
+# Should the unused Xorg server be kept running? Set this to true if waiting
+# for X to be ready is too long and don't need power management at all.
+KeepUnusedXServer=false
+# The name of the Bumbleblee server group name (GID name)
+ServerGroup=bumblebee
+# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
+# server exits.
+TurnCardOffAtExit=false
+# The default behavior of '-f' option on optirun. If set to "true", '-f' will
+# be ignored.
+NoEcoModeOverride=false
+# The Driver used by Bumblebee server. If this value is not set (or empty),
+# auto-detection is performed. The available drivers are nvidia and nouveau
+# (See also the driver-specific sections below)
+Driver=
+# Directory with a dummy config file to pass as a -configdir to secondary X
+XorgConfDir=/etc/bumblebee/xorg.conf.d
+# Xorg binary to run
+XorgBinary=/usr/lib/xorg/Xorg
+
+## Client options. Will take effect on the next optirun executed.
+[optirun]
+# Acceleration/ rendering bridge, possible values are auto, virtualgl and
+# primus.
+Bridge=auto
+# The method used for VirtualGL to transport frames between X servers.
+# Possible values are proxy, jpeg, rgb, xv and yuv.
+VGLTransport=proxy
+# List of paths which are searched for the primus libGL.so.1 when using
+# the primus bridge
+PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
+# Should the program run under optirun even if Bumblebee server or nvidia card
+# is not available?
+AllowFallbackToIGC=false
+
+
+# Driver-specific settings are grouped under [driver-NAME]. The sections are
+# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
+# detection resolves to NAME).
+# PMMethod: method to use for saving power by disabling the nvidia card, valid
+# values are: auto - automatically detect which PM method to use
+# bbswitch - new in BB 3, recommended if available
+# switcheroo - vga_switcheroo method, use at your own risk
+# none - disable PM completely
+# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
+
+## Section with nvidia driver specific options, only parsed if Driver=nvidia
+[driver-nvidia]
+# Module name to load, defaults to Driver if empty or unset
+KernelDriver=nvidia
+PMMethod=auto
+# colon-separated path to the nvidia libraries
+LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
+# comma-separated path of the directory containing nvidia_drv.so and the
+# default Xorg modules path
+XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
+XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
+
+## Section with nouveau driver specific options, only parsed if Driver=nouveau
+[driver-nouveau]
+KernelDriver=nouveau
+PMMethod=auto
+XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
+
--- /dev/null
+Section "ServerLayout"
+ Identifier "Layout0"
+ Option "AutoAddDevices" "false"
+ Option "AutoAddGPU" "false"
+EndSection
+
+Section "Device"
+ Identifier "DiscreteNvidia"
+ Driver "nouveau"
+
+# If the X server does not automatically detect your VGA device,
+# you can manually set it here.
+# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
+# as you see in the commented example.
+# This Setting is needed on Ubuntu 13.04.
+ BusID "PCI:01:00:0"
+
+EndSection
--- /dev/null
+Section "ServerLayout"
+ Identifier "Layout0"
+ Option "AutoAddDevices" "false"
+ Option "AutoAddGPU" "false"
+EndSection
+
+Section "Device"
+ Identifier "DiscreteNvidia"
+ Driver "nvidia"
+ VendorName "NVIDIA Corporation"
+
+# If the X server does not automatically detect your VGA device,
+# you can manually set it here.
+# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
+# as you see in the commented example.
+# This Setting may be needed in some platforms with more than one
+# nvidia card, which may confuse the proprietary driver (e.g.,
+# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
+# BusID "PCI:01:00:0"
+
+# Setting ProbeAllGpus to false prevents the new proprietary driver
+# instance spawned to try to control the integrated graphics card,
+# which is already being managed outside bumblebee.
+# This option doesn't hurt and it is required on platforms running
+# more than one nvidia graphics card with the proprietary driver.
+# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
+# If this option is not set, the new Xorg may blacken the screen and
+# render it unusable (unless you have some way to run killall Xorg).
+ Option "ProbeAllGpus" "false"
+
+ Option "NoLogo" "true"
+ Option "UseEDID" "false"
+ Option "UseDisplayDevice" "none"
+EndSection
bitcoin:x:138:
ntp:x:105:
nvidia-persistenced:x:131:
+bumblebee:x:998:mhoellein,syslog
susi:x:1013:
bitcoin:x:138:
ntp:x:105:
+nvidia-persistenced:x:131:
+bumblebee:x:998:mhoellein
bitcoin:!::
ntp:!::
nvidia-persistenced:!::
+bumblebee:!::mhoellein,syslog
susi:!::
bitcoin:!::
ntp:!::
+nvidia-persistenced:!::
+bumblebee:!::mhoellein
--- /dev/null
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides: bumblebeed
+# Required-Start: $local_fs $remote_fs $syslog
+# Required-Stop: $local_fs $remote_fs $syslog
+# Should-Start: kdm gdm lightdm nvidia-kernel
+# Should-Stop: kdm gdm lightdm nvidia-kernel
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Bumblebee supporting NVIDIA Optimus cards
+# Description: Daemon responsible for handling power management for
+# NVIDIA Optimus cards and handling optirun requests which
+# allows the discrete card to be used
+### END INIT INFO
+
+# Author: Aron Xu <aron@debian.org>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC=bumblebeed # Introduce a short description here
+NAME=bumblebeed # Introduce the short server's name here
+DAEMON=/usr/sbin/bumblebeed # Introduce the server's location here
+DAEMON_ARGS="--daemon" # Arguments to run the daemon with
+PIDFILE=/var/run/$NAME.pid
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Exit if the package is not installed
+[ -x $DAEMON ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+
+# Load the VERBOSE setting and other rcS variables
+. /lib/init/vars.sh
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions
+
+#
+# Function that starts the daemon/service
+#
+do_start()
+{
+ # Return
+ # 0 if daemon has been started
+ # 1 if daemon was already running
+ # 2 if daemon could not be started
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
+ || return 1
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
+ $DAEMON_ARGS \
+ || return 2
+ # Add code here, if necessary, that waits for the process to be ready
+ # to handle requests from services started subsequently which depend
+ # on this one. As a last resort, sleep for some time.
+}
+
+#
+# Function that stops the daemon/service
+#
+do_stop()
+{
+ # Return
+ # 0 if daemon has been stopped
+ # 1 if daemon was already stopped
+ # 2 if daemon could not be stopped
+ # other if a failure occurred
+ start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
+ RETVAL="$?"
+ [ "$RETVAL" = 2 ] && return 2
+ # Wait for children to finish too if this is a daemon that forks
+ # and if the daemon is only ever run from this initscript.
+ # If the above conditions are not satisfied then add some other code
+ # that waits for the process to drop all resources that could be
+ # needed by services started subsequently. A last resort is to
+ # sleep for some time.
+ start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
+ [ "$?" = 2 ] && return 2
+ # Many daemons don't delete their pidfiles when they exit.
+ rm -f $PIDFILE
+ return "$RETVAL"
+}
+
+#
+# Function that sends a SIGHUP to the daemon/service
+#
+do_reload() {
+ #
+ # If the daemon can reload its configuration without
+ # restarting (for example, when it is sent a SIGHUP),
+ # then implement that here.
+ #
+ start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
+ return 0
+}
+
+case "$1" in
+ start)
+ [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
+ do_start
+ case "$?" in
+ 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ esac
+ ;;
+ stop)
+ [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
+ do_stop
+ case "$?" in
+ 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+ 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+ esac
+ ;;
+ status)
+ status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+ ;;
+ #reload|force-reload)
+ #
+ # If do_reload() is not implemented then leave this commented out
+ # and leave 'force-reload' as an alias for 'restart'.
+ #
+ #log_daemon_msg "Reloading $DESC" "$NAME"
+ #do_reload
+ #log_end_msg $?
+ #;;
+ restart|force-reload)
+ #
+ # If the "reload" option is implemented then remove the
+ # 'force-reload' alias
+ #
+ log_daemon_msg "Restarting $DESC" "$NAME"
+ do_stop
+ case "$?" in
+ 0|1)
+ do_start
+ case "$?" in
+ 0) log_end_msg 0 ;;
+ 1) log_end_msg 1 ;; # Old process is still running
+ *) log_end_msg 1 ;; # Failed to start
+ esac
+ ;;
+ *)
+ # Failed to stop
+ log_end_msg 1
+ ;;
+ esac
+ ;;
+ *)
+ #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
+ echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
+ exit 3
+ ;;
+esac
+
+:
--- /dev/null
+# This file is installed by bumblebee, do NOT edit!
+# to be used by kmod / module-init-tools, and installed in /etc/modprobe.d/
+# or equivalent
+
+# do not automatically load nouveau as it may prevent nvidia from loading
+blacklist nouveau
+# do not automatically load nvidia as it's unloaded anyway when bumblebeed
+# starts and may fail bumblebeed to disable the card in a race condition.
+# Debian
+blacklist nvidia
+blacklist nvidia-current
+blacklist nvidia-legacy-304xx
+blacklist nvidia-legacy-340xx
+# Ubuntu
+blacklist nvidia
+blacklist nvidia-current
+blacklist nvidia-current-updates
+# 304
+blacklist nvidia-304
+blacklist nvidia-304-updates
+blacklist nvidia-experimental-304
+# 310
+blacklist nvidia-310
+blacklist nvidia-310-updates
+blacklist nvidia-experimental-310
+# 313
+blacklist nvidia-313
+blacklist nvidia-313-updates
+blacklist nvidia-experimental-313
+# 319
+blacklist nvidia-319
+blacklist nvidia-319-updates
+blacklist nvidia-experimental-319
+# 325
+blacklist nvidia-325
+blacklist nvidia-325-updates
+blacklist nvidia-experimental-325
+# 331
+blacklist nvidia-331
+blacklist nvidia-331-updates
+blacklist nvidia-experimental-331
+# 334
+blacklist nvidia-334
+blacklist nvidia-334-updates
+blacklist nvidia-experimental-334
+# 337
+blacklist nvidia-337
+blacklist nvidia-337-updates
+blacklist nvidia-experimental-337
+# 340
+blacklist nvidia-340
+blacklist nvidia-340-updates
+blacklist nvidia-experimental-340
+# 343
+blacklist nvidia-343
+blacklist nvidia-343-updates
+blacklist nvidia-experimental-343
+# 346
+blacklist nvidia-346
+blacklist nvidia-346-updates
+blacklist nvidia-experimental-346
+# 349
+blacklist nvidia-349
+blacklist nvidia-349-updates
+blacklist nvidia-experimental-349
+# 352
+blacklist nvidia-352
+blacklist nvidia-352-updates
+blacklist nvidia-experimental-352
+# 355
+blacklist nvidia-355
+blacklist nvidia-355-updates
+blacklist nvidia-experimental-355
+# 358
+blacklist nvidia-358
+blacklist nvidia-358-updates
+blacklist nvidia-experimental-358
+# 361
+blacklist nvidia-361
+blacklist nvidia-361-updates
+blacklist nvidia-experimental-361
+# 364
+blacklist nvidia-364
+blacklist nvidia-364-updates
+blacklist nvidia-experimental-364
+# 367
+blacklist nvidia-367
+blacklist nvidia-367-updates
+blacklist nvidia-experimental-367
+# 375
+blacklist nvidia-375
+blacklist nvidia-375-updates
+blacklist nvidia-experimental-375
+# 378
+blacklist nvidia-378
+blacklist nvidia-378-updates
+blacklist nvidia-experimental-378
+# 381
+blacklist nvidia-381
+blacklist nvidia-381-updates
+blacklist nvidia-experimental-381
+# 384
+blacklist nvidia-384
+blacklist nvidia-384-updates
+blacklist nvidia-experimental-384
--- /dev/null
+../init.d/bumblebeed
\ No newline at end of file
+++ /dev/null
-../init.d/lightdm
\ No newline at end of file
--- /dev/null
+../init.d/lightdm
\ No newline at end of file
--- /dev/null
+../init.d/bumblebeed
\ No newline at end of file
+++ /dev/null
-../init.d/lightdm
\ No newline at end of file
--- /dev/null
+../init.d/lightdm
\ No newline at end of file
--- /dev/null
+../init.d/bumblebeed
\ No newline at end of file
+++ /dev/null
-../init.d/grub-common
\ No newline at end of file
+++ /dev/null
-../init.d/ondemand
\ No newline at end of file
+++ /dev/null
-../init.d/plymouth
\ No newline at end of file
+++ /dev/null
-../init.d/rc.local
\ No newline at end of file
--- /dev/null
+../init.d/grub-common
\ No newline at end of file
--- /dev/null
+../init.d/ondemand
\ No newline at end of file
--- /dev/null
+../init.d/plymouth
\ No newline at end of file
--- /dev/null
+../init.d/rc.local
\ No newline at end of file
--- /dev/null
+../init.d/bumblebeed
\ No newline at end of file
+++ /dev/null
-../init.d/grub-common
\ No newline at end of file
+++ /dev/null
-../init.d/ondemand
\ No newline at end of file
+++ /dev/null
-../init.d/plymouth
\ No newline at end of file
+++ /dev/null
-../init.d/rc.local
\ No newline at end of file
--- /dev/null
+../init.d/grub-common
\ No newline at end of file
--- /dev/null
+../init.d/ondemand
\ No newline at end of file
--- /dev/null
+../init.d/plymouth
\ No newline at end of file
--- /dev/null
+../init.d/rc.local
\ No newline at end of file
--- /dev/null
+../init.d/bumblebeed
\ No newline at end of file
+++ /dev/null
-../init.d/grub-common
\ No newline at end of file
+++ /dev/null
-../init.d/ondemand
\ No newline at end of file
+++ /dev/null
-../init.d/plymouth
\ No newline at end of file
+++ /dev/null
-../init.d/rc.local
\ No newline at end of file
--- /dev/null
+../init.d/grub-common
\ No newline at end of file
--- /dev/null
+../init.d/ondemand
\ No newline at end of file
--- /dev/null
+../init.d/plymouth
\ No newline at end of file
--- /dev/null
+../init.d/rc.local
\ No newline at end of file
--- /dev/null
+../init.d/bumblebeed
\ No newline at end of file
+++ /dev/null
-../init.d/grub-common
\ No newline at end of file
+++ /dev/null
-../init.d/ondemand
\ No newline at end of file
+++ /dev/null
-../init.d/plymouth
\ No newline at end of file
+++ /dev/null
-../init.d/rc.local
\ No newline at end of file
--- /dev/null
+../init.d/grub-common
\ No newline at end of file
--- /dev/null
+../init.d/ondemand
\ No newline at end of file
--- /dev/null
+../init.d/plymouth
\ No newline at end of file
--- /dev/null
+../init.d/rc.local
\ No newline at end of file
--- /dev/null
+../init.d/bumblebeed
\ No newline at end of file
+++ /dev/null
-../init.d/lightdm
\ No newline at end of file
--- /dev/null
+../init.d/lightdm
\ No newline at end of file
--- /dev/null
+/lib/systemd/system/bumblebeed.service
\ No newline at end of file