Skip to content

Commit

Permalink
debian: Re-add --timeout option for ifupdown script.
Browse files Browse the repository at this point in the history
Commit fba6bd1(ovs-vsctl: Try connecting only once for active connections..)
removed the timeout option from ifupdown.sh. Removing the "--timeout=" option
can cause ifupdown script to hang if ovs-vswitchd is not running and ifupdown
script changes the OVSDB. So, re-add it.

Signed-off-by: Gurucharan Shetty <[email protected]>
  • Loading branch information
shettyg committed Mar 18, 2013
1 parent 32aa468 commit 0daa9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/ifupdown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "${IF_OVS_TYPE}" ]; then
fi

ovs_vsctl() {
ovs-vsctl "$@"
ovs-vsctl --timeout=5 "$@"
}

if (ovs_vsctl --version) > /dev/null 2>&1; then :; else
Expand Down

0 comments on commit 0daa9cf

Please sign in to comment.