diff options
author | ramon <ramongomez@us.es> | 2012-01-18 13:12:50 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-01-18 13:12:50 +0000 |
commit | ffaeb87942d5b34e7a4abe558e6f0650df748a9d (patch) | |
tree | 79723a4072be7bcad2f4efff3528eb06f60c407c | |
parent | 383410a67fbfccd0b08f891cd96354207a5ec44d (diff) |
VersiĆ³n 1.0.2a, #478: corregir errata en instalador para incluir la IP de la interfaz por defecto en la tabla "entornos".
git-svn-id: https://opengnsys.es/svn/trunk@2441 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-x | installer/opengnsys_installer.sh | 4 |
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." } |