Skip to content

Instantly share code, notes, and snippets.

@goog
Created April 10, 2016 09:34
Show Gist options
  • Save goog/687ea5edeafd5278d437c60667be309e to your computer and use it in GitHub Desktop.
Save goog/687ea5edeafd5278d437c60667be309e to your computer and use it in GitHub Desktop.
brightness setting backup
cheng@ada ~ $ cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
echo 766 > /sys/class/backlight/intel_backlight/brightness
rfkill block bluetooth
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment