rpi is slow

pull/1/head
Jordan Sokolic 2020-04-16 11:15:13 +03:00
parent db7833f6f5
commit 7ca44ef182
1 changed files with 1 additions and 1 deletions

2
run.sh
View File

@ -69,7 +69,7 @@ function _set_hairpin() {
for i in {1..10}; do
echo -n '.'
sudo ip netns exec $CONTAINER ip link set $WIFI_IFACE type bridge_slave hairpin on 2>/dev/null && { echo 'ok'; break; }
sleep 1
sleep 3
done
if [[ $i -ge 10 ]]; then
echo -e "\ncouldn't set hairpin mode, wifi clients will probably be unable to talk to each other"