From 640071642bb49c3aea5f4decedc213e5974f3a1a Mon Sep 17 00:00:00 2001 From: Itohan Date: Tue, 14 Nov 2017 20:30:04 -0800 Subject: Fixed bug in v_brgemu_install.sh Moved creation of nat_service.sh to an if block Issue-ID: INT-63 Change-Id: I44a86012dd08359859c24c41a7c6693b9b3429a2 Signed-off-by: Itohan --- vnfs/vCPE/scripts/v_brgemu_install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vnfs/vCPE/scripts/v_brgemu_install.sh') diff --git a/vnfs/vCPE/scripts/v_brgemu_install.sh b/vnfs/vCPE/scripts/v_brgemu_install.sh index f8824f97..e3a32fd5 100755 --- a/vnfs/vCPE/scripts/v_brgemu_install.sh +++ b/vnfs/vCPE/scripts/v_brgemu_install.sh @@ -326,10 +326,10 @@ do sleep 1 done EOF + chmod +x /opt/set_nat.sh -fi # endif BUILD_STATE != "build" -#Create script to run bind_nic.sh and set_nat.sh + #Create script to run bind_nic.sh and set_nat.sh cat > /opt/nat_service.sh << 'EOF' #! /bin/bash @@ -340,6 +340,8 @@ sleep 15 EOF chmod +x /opt/nat_service.sh +fi # endif BUILD_STATE != "build" + if [[ $BUILD_STATE != "done" ]] then -- cgit 1.2.3-korg