Fix redundant router start up

commit e4fe14a9ce19fbbdb15bbfaad586d80031ca9fbc break redundant router, because
at time of ping, the network is not up for redundant router.

Add timout for ping
This commit is contained in:
Sheng Yang 2011-08-09 21:01:09 -07:00
parent 5cf6feb2e5
commit ab4c4de989

View File

@ -249,7 +249,7 @@ setup_common() {
fi
# a hacking way to activate vSwitch under VMware
ping -n -c 3 $GW
ping -n -c 3 -deadline 5 $GW
}
setup_dnsmasq() {