mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 04:46:51 +08:00
Merge pull request #2234 from paparazzi/bebop_wifi-fix
[parrot] wait longer when connecting bebop to wifi router
This commit is contained in:
@@ -35,7 +35,7 @@ then
|
|||||||
wificmd="bcmwl join $WIFI_SSID key $WIFI_KEY amode $WIFI_AMODE"
|
wificmd="bcmwl join $WIFI_SSID key $WIFI_KEY amode $WIFI_AMODE"
|
||||||
fi
|
fi
|
||||||
eval $wificmd
|
eval $wificmd
|
||||||
sleep 2
|
sleep 5
|
||||||
# from the udhcpc message clip the leased IP address
|
# 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)`
|
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
|
echo $dhcpmsg > /data/ftp/internal_000/scripts/MSG_latest_DHCP
|
||||||
|
|||||||
Reference in New Issue
Block a user