#!/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. # disable Bluetooth by default /sbin/rfkill block bluetooth ## PowerTop suggestions: # Enable SATA ALPM link power management via: echo min_power > /sys/class/scsi_host/host0/link_power_management_policy # Enable HD audio powersave mode by executing the following command: echo 1 > /sys/module/snd_hda_intel/parameters/power_save # increase the VM dirty writeback time from 0.00 to 15 seconds with: echo 1500 > /proc/sys/vm/dirty_writeback_centisecs # Enable wireless power saving mode by executing the following command: /sbin/iwconfig wlan0 power timeout 500ms exit 0