From 0daa9cf2e1ccf09024080e0ae2a393bf620168ea Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Mon, 18 Mar 2013 12:33:17 -0700 Subject: [PATCH] debian: Re-add --timeout option for ifupdown script. Commit fba6bd1d3f(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 --- debian/ifupdown.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/ifupdown.sh b/debian/ifupdown.sh index f728f7c77..e45653360 100755 --- a/debian/ifupdown.sh +++ b/debian/ifupdown.sh @@ -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 -- 2.43.0