From f55658dab2e641a65c01df8d9440c09001b0a598 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 23 Apr 2015 11:47:43 +0200 Subject: [PATCH] vpn_l2tp: fix variable assignment, fails L2TP VPN Signed-off-by: Rohit Yadav (cherry picked from commit 5cba4109377ff6e3cfe87a998fb2cac6aa7639dd) Signed-off-by: Rohit Yadav --- systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh b/systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh index 83d5272f3e1..7fb44e66897 100755 --- a/systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh +++ b/systemvm/patches/debian/vpn/opt/cloud/bin/vpn_l2tp.sh @@ -226,12 +226,12 @@ done if [ "$dev" == "" ] then - $dev="eth2" + dev="eth2" fi if [ "$cidr" == "" ] then - $cidr=$(get_intf_ip "eth0") + cidr=$(get_intf_ip "eth0") fi [ "$create$destroy" == "11" ] || [ "$create$destroy$useradd$userdel" == "" ] && usage && exit 2