summaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorMichael Dürre <michael.duerre@highstreet-technologies.com>2020-09-03 10:21:07 +0200
committerMichael Dürre <michael.duerre@highstreet-technologies.com>2020-09-03 10:21:18 +0200
commit4b636759c3dd10471111b586092cd2487a7c3eea (patch)
tree5cfa95fc3a9d34e40423fcc40e3a9794b09cc673 /installation
parentcf6eb9744f6db8753fe05a9575045d82bf6f873f (diff)
rollback scripts to bash
change back from sh to bash Issue-ID: SDNC-1346 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com> Change-Id: I3798ff8cbe5e1ee52d8c3abbc45a45a00ff3be42 Former-commit-id: f685f0a4491f2adfc498977c404b6c1f93f16717
Diffstat (limited to 'installation')
-rwxr-xr-xinstallation/sdnc/src/main/scripts/addA1TrustStore.sh2
-rwxr-xr-xinstallation/sdnc/src/main/scripts/addIpAddresses.sh2
-rwxr-xr-xinstallation/sdnc/src/main/scripts/addSdncKeyStore.sh2
-rwxr-xr-xinstallation/sdnc/src/main/scripts/addVnis.sh2
-rw-r--r--installation/sdnc/src/main/scripts/backupMdsal.sh2
-rwxr-xr-xinstallation/sdnc/src/main/scripts/configure_geo_cluster.sh2
-rwxr-xr-xinstallation/sdnc/src/main/scripts/installFeatures.sh2
-rwxr-xr-xinstallation/sdnc/src/main/scripts/installSdncDb.sh2
-rw-r--r--installation/sdnc/src/main/scripts/installZips.sh2
-rw-r--r--installation/sdnc/src/main/scripts/restoreMdsal.sh2
-rw-r--r--installation/sdnc/src/main/scripts/rmForeignKey.sh2
-rwxr-xr-xinstallation/sdnc/src/main/scripts/startODL.oom.sh2
-rwxr-xr-xinstallation/sdnc/src/main/scripts/startODL.sh2
-rwxr-xr-xinstallation/sdnc/src/main/scripts/switchVoting.sh2
14 files changed, 14 insertions, 14 deletions
diff --git a/installation/sdnc/src/main/scripts/addA1TrustStore.sh b/installation/sdnc/src/main/scripts/addA1TrustStore.sh
index ae74e5f0..4e3fcab6 100755
--- a/installation/sdnc/src/main/scripts/addA1TrustStore.sh
+++ b/installation/sdnc/src/main/scripts/addA1TrustStore.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###
# ============LICENSE_START=======================================================
diff --git a/installation/sdnc/src/main/scripts/addIpAddresses.sh b/installation/sdnc/src/main/scripts/addIpAddresses.sh
index 6a29d475..6b9af4df 100755
--- a/installation/sdnc/src/main/scripts/addIpAddresses.sh
+++ b/installation/sdnc/src/main/scripts/addIpAddresses.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
MYSQL_USER=${MYSQL_USER:-sdnctl}
MYSQL_PWD=${MYSQL_PWD:-gamma}
diff --git a/installation/sdnc/src/main/scripts/addSdncKeyStore.sh b/installation/sdnc/src/main/scripts/addSdncKeyStore.sh
index ea664b75..c6f0e5ae 100755
--- a/installation/sdnc/src/main/scripts/addSdncKeyStore.sh
+++ b/installation/sdnc/src/main/scripts/addSdncKeyStore.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc}
diff --git a/installation/sdnc/src/main/scripts/addVnis.sh b/installation/sdnc/src/main/scripts/addVnis.sh
index 9b526a67..a8b50eb6 100755
--- a/installation/sdnc/src/main/scripts/addVnis.sh
+++ b/installation/sdnc/src/main/scripts/addVnis.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
MYSQL_USER=${MYSQL_USER:-sdnctl}
MYSQL_PWD=${MYSQL_PWD:-gamma}
diff --git a/installation/sdnc/src/main/scripts/backupMdsal.sh b/installation/sdnc/src/main/scripts/backupMdsal.sh
index 13eb5ca5..3aefec28 100644
--- a/installation/sdnc/src/main/scripts/backupMdsal.sh
+++ b/installation/sdnc/src/main/scripts/backupMdsal.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
cat > /tmp/daexim-export.json <<-END
{
diff --git a/installation/sdnc/src/main/scripts/configure_geo_cluster.sh b/installation/sdnc/src/main/scripts/configure_geo_cluster.sh
index b744bbec..5fbe0530 100755
--- a/installation/sdnc/src/main/scripts/configure_geo_cluster.sh
+++ b/installation/sdnc/src/main/scripts/configure_geo_cluster.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
if [ $# -ne 3 ]; then
echo "Usage: configure_geo_cluster.sh <member_index{1..6}> <primary_node> <secondary_node>"
diff --git a/installation/sdnc/src/main/scripts/installFeatures.sh b/installation/sdnc/src/main/scripts/installFeatures.sh
index 9180bc26..1fe10819 100755
--- a/installation/sdnc/src/main/scripts/installFeatures.sh
+++ b/installation/sdnc/src/main/scripts/installFeatures.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###
# ============LICENSE_START=======================================================
diff --git a/installation/sdnc/src/main/scripts/installSdncDb.sh b/installation/sdnc/src/main/scripts/installSdncDb.sh
index d645d4b1..1a403285 100755
--- a/installation/sdnc/src/main/scripts/installSdncDb.sh
+++ b/installation/sdnc/src/main/scripts/installSdncDb.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###
# ============LICENSE_START=======================================================
diff --git a/installation/sdnc/src/main/scripts/installZips.sh b/installation/sdnc/src/main/scripts/installZips.sh
index 89ffd08c..e8789bee 100644
--- a/installation/sdnc/src/main/scripts/installZips.sh
+++ b/installation/sdnc/src/main/scripts/installZips.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###
# ============LICENSE_START=======================================================
diff --git a/installation/sdnc/src/main/scripts/restoreMdsal.sh b/installation/sdnc/src/main/scripts/restoreMdsal.sh
index 2bfd9769..1f73d776 100644
--- a/installation/sdnc/src/main/scripts/restoreMdsal.sh
+++ b/installation/sdnc/src/main/scripts/restoreMdsal.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
cat > /tmp/daexim-import.json <<-END
{
"input" : {
diff --git a/installation/sdnc/src/main/scripts/rmForeignKey.sh b/installation/sdnc/src/main/scripts/rmForeignKey.sh
index 0f70fcd5..40914fa2 100644
--- a/installation/sdnc/src/main/scripts/rmForeignKey.sh
+++ b/installation/sdnc/src/main/scripts/rmForeignKey.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
MYSQL_USER=${MYSQL_USER:-sdnctl}
MYSQL_PWD=${MYSQL_PWD:-gamma}
diff --git a/installation/sdnc/src/main/scripts/startODL.oom.sh b/installation/sdnc/src/main/scripts/startODL.oom.sh
index 4be69046..1ce4a1b0 100755
--- a/installation/sdnc/src/main/scripts/startODL.oom.sh
+++ b/installation/sdnc/src/main/scripts/startODL.oom.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###
# ============LICENSE_START=======================================================
diff --git a/installation/sdnc/src/main/scripts/startODL.sh b/installation/sdnc/src/main/scripts/startODL.sh
index 0b7a47c6..86d1e09c 100755
--- a/installation/sdnc/src/main/scripts/startODL.sh
+++ b/installation/sdnc/src/main/scripts/startODL.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
###
# ============LICENSE_START=======================================================
diff --git a/installation/sdnc/src/main/scripts/switchVoting.sh b/installation/sdnc/src/main/scripts/switchVoting.sh
index fd16a16d..05d1e0fd 100755
--- a/installation/sdnc/src/main/scripts/switchVoting.sh
+++ b/installation/sdnc/src/main/scripts/switchVoting.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
function usage()
{