diff options
author | Bill Peck <bpeck@redhat.com> | 2013-01-10 13:30:02 -0500 |
---|---|---|
committer | Bill Peck <bpeck@redhat.com> | 2013-01-10 13:30:02 -0500 |
commit | 18c8064a01109ed2b911c6e2986e1ae25732c291 (patch) | |
tree | f8d8d90235b9966b13dd8856cd3af3e095f536e9 /kernel | |
parent | 62e2597081248de36fed4199868e73058aed0c36 (diff) | |
download | tests-18c8064a01109ed2b911c6e2986e1ae25732c291.tar.gz tests-18c8064a01109ed2b911c6e2986e1ae25732c291.tar.xz tests-18c8064a01109ed2b911c6e2986e1ae25732c291.zip |
Fix test logic.
Diffstat (limited to 'kernel')
-rwxr-xr-x | kernel/networking/openvswitch/br_to_vswitch/runtest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/networking/openvswitch/br_to_vswitch/runtest.sh b/kernel/networking/openvswitch/br_to_vswitch/runtest.sh index 82143e1..0047a1a 100755 --- a/kernel/networking/openvswitch/br_to_vswitch/runtest.sh +++ b/kernel/networking/openvswitch/br_to_vswitch/runtest.sh @@ -59,7 +59,7 @@ for intf in $(ls /sys/class/net); do break fi done -if [ -z "$device" ]; then +if [ -n "$device" ]; then cat <<EOF >>/etc/sysconfig/network-scripts/ifcfg-$vswitch OVSBOOTPROTO="dhcp" OVSDHCPINTERFACES="$device" |