X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Fifupdown.sh;h=f728f7c779be1c685959838260d7782e2d908509;hb=fba6bd1d3f5891471daea8bf5da22303c2d889df;hp=bd6aec846fd953caf85202faf1566aeedc859adb;hpb=a6a60925d7425685dd7876ec7da162fa5d73a3b8;p=sliver-openvswitch.git diff --git a/debian/ifupdown.sh b/debian/ifupdown.sh index bd6aec846..f728f7c77 100755 --- a/debian/ifupdown.sh +++ b/debian/ifupdown.sh @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (c) 2012 Nicira, Inc. +# Copyright (c) 2012, 2013 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ if [ -z "${IF_OVS_TYPE}" ]; then fi ovs_vsctl() { - ovs-vsctl --timeout=5 "$@" + ovs-vsctl "$@" } if (ovs_vsctl --version) > /dev/null 2>&1; then :; else @@ -61,6 +61,10 @@ if [ "${MODE}" = "start" ]; then ${OVS_EXTRA+-- $OVS_EXTRA} ifconfig "${IFACE}" up + for slave in ${IF_OVS_BONDS} + do + ifconfig "${slave}" up + done ;; *) exit 0