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 5aa96218a06..0a76b7fff76 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -484,7 +484,7 @@ disable_hvc() { enable_vpc_rpsrfs() { local enable=$1 - if [ $eanble -eq 0] + if [ $enable -eq 0 ] then echo 0 > /etc/rpsrfsenable else @@ -497,7 +497,7 @@ enable_vpc_rpsrfs() { enable_rpsrfs() { local enable=$1 - if [ $eanble -eq 0] + if [ $enable -eq 0 ] then echo 0 > /etc/rpsrfsenable return 0 diff --git a/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ b/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ index 0e42ec4968a..3e22c0d0a55 100644 --- a/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ +++ b/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ @@ -23,7 +23,7 @@ while read i do if [ "$i" == "eth2" ] then - ifdown $i + ifdown $i --force ifup $i else ifconfig $i down