#!/bin/sh -e # # rc.local # # Thisscript is executed at the end of each multiuser runlevel. #sleep 5 #/sbin/iw wlan0 set power_save off || echo "COULD NOT DISABLE THE PS WLAN0" #echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth #echo "WLAN-PS-DISABLE" sh /etc/init.d/auto-test.sh || exit 1 # 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. exit 0