[parrot] wait longer when connecting bebop to wifi router

it seems that 2 seconds is a bit to short in some cases when the router
takes longer to reply. 5 seconds gives much better results.
This commit is contained in:
Gautier Hattenberger
2018-02-10 22:59:37 +01:00
parent 1f85390422
commit 3df160f95f
@@ -35,7 +35,7 @@ then
wificmd="bcmwl join $WIFI_SSID key $WIFI_KEY amode $WIFI_AMODE"
fi
eval $wificmd
sleep 2
sleep 5
# from the udhcpc message clip the leased IP address
dhcpmsg=`udhcpc -n -b -i eth0 -s /data/ftp/internal_000/scripts/config_network.script -x hostname:$(hostname)`
echo $dhcpmsg > /data/ftp/internal_000/scripts/MSG_latest_DHCP