From e34fcff9b961d768316f31740db2bcdaec32ad7f Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Tue, 1 May 2012 15:39:47 -0700 Subject: [PATCH] Don't bring up eth2 for booting process of redundant router --- patches/systemvm/debian/config/etc/init.d/cloud-early-config | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config b/patches/systemvm/debian/config/etc/init.d/cloud-early-config index 6033402b458..9c0d189046f 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -205,10 +205,9 @@ setup_interface() { ifdown $intf else ifdown $intf - ifup $intf - if [ "$RROUTER" == "1" -a "$1" == "2" ] + if [ "$RROUTER" != "1" -o "$1" != "2" ] then - ifdown $intf + ifup $intf fi fi }