aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts/v_brgemu_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/vCPE/scripts/v_brgemu_install.sh')
-rwxr-xr-xvnfs/vCPE/scripts/v_brgemu_install.sh6
1 files changed, 4 insertions, 2 deletions
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