1 # Put your custom commands here that should be executed once
2 # the system init finished. By default this file does nothing.
5 # Put your custom commands here that should be executed once
6 # the system init finished. By default this file does nothing.
8 exec 2> /tmp/rc.local.log # send stderr from rc.local to a log file
9 exec 1>&2 # send stdout to the same log file
10 set -x # tell sh to display commands before execution
12 # Sleep and run brctl on the background
13 sleep 20 && /usr/sbin/brctl hairpin br-wifi wlan0 on && /usr/sbin/brctl hairpin br-wifi wlan1 on &
14 sleep 20 && /root/setup/startup.sh &