Looks good.

On Fri, Feb 3, 2012 at 9:19 AM, Ben Pfaff <b...@nicira.com> wrote:

> Suggested-by: "Alexey I. Froloff" <ra...@altlinux.org>
> Signed-off-by: Ben Pfaff <b...@nicira.com>
> ---
> Not tested, please scrutinize!
>
>  rhel/etc_sysconfig_network-scripts_ifup-ovs |    9 +++------
>  1 files changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/rhel/etc_sysconfig_network-scripts_ifup-ovs
> b/rhel/etc_sysconfig_network-scripts_ifup-ovs
> index 18cebc4..4f842ec 100755
> --- a/rhel/etc_sysconfig_network-scripts_ifup-ovs
> +++ b/rhel/etc_sysconfig_network-scripts_ifup-ovs
> @@ -1,6 +1,6 @@
>  #!/bin/bash
>
> -# Copyright (c) 2011 Alexey I. Froloff.
> +# Copyright (c) 2011, 2012 Alexey I. Froloff.
>  #
>  # Licensed under the Apache License, Version 2.0 (the "License");
>  # you may not use this file except in compliance with the License.
> @@ -37,11 +37,8 @@ case "$TYPE" in
>        OVSBridge)
>                ovs-vsctl -- --may-exist add-br "$DEVICE" $OVS_OPTIONS
> ${OVS_EXTRA+-- $OVS_EXTRA}
>                if [ "${OVSBOOTPROTO}" = "dhcp" ] && [ -n "${OVSINTF}" ];
> then
> -                       case ${OVSDHCPINTERFACES} in
> -                               ${OVSINTF#ifcfg-} | \
> -                               "${OVSINTF#ifcfg-},"* | \
> -                               *",${OVSINTF#ifcfg-}" | \
> -                               *",${OVSINTF#ifcfg-},"*)
> +                       case ,${OVSDHCPINTERFACES}, in
> +                               *,${OVSINTF#ifcfg-},*)
>                                        BOOTPROTO=dhcp ${OTHERSCRIPT}
> ${CONFIG}
>                                ;;
>                        esac
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to