summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/opengnsys_installer.sh')
-rwxr-xr-xinstaller/opengnsys_installer.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index c6aa77c5..6039e295 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -442,7 +442,7 @@ function mysqlImportSqlFileToDb()
echoAndLog "${FUNCNAME}(): importing SQL file to ${database}..."
chmod 600 $tmpfile
for dev in ${DEVICE[*]}; do
- if [ "${DEVICE[i]} == $DEFAULTDEV" ]; then
+ if [ "${DEVICE[i]}" == "$DEFAULTDEV" ]; then
sed -e "s/SERVERIP/${SERVERIP[i]}/g" \
-e "s/DBUSER/$OPENGNSYS_DB_USER/g" \
-e "s/DBPASSWORD/$OPENGNSYS_DB_PASSWD/g" \
@@ -622,6 +622,8 @@ function getNetworkSettings()
fi
APACHE_RUN_USER=${APACHE_RUN_USER:-"$APACHEUSER"}
APACHE_RUN_GROUP=${APACHE_RUN_GROUP:-"$APACHEGROUP"}
+
+ echoAndLog "${FUNCNAME}(): Default network device: $DEFAULTDEV."
}