Versión 1.0.6b, #752: Corregir errata en script {{{setserveraddr}}} al modificar la configuración del fichero {{{ogAdmClient.cfg}}}.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5034 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/debian-pkg
ramon 2016-10-13 12:36:40 +00:00
parent 69052958f6
commit f535be9c5f
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ if [ -n "$SERVERIP" ]; then
# - servidor o IP en URLs excepto si contienen "localhost".
sed -e "s,ServidorAdm=.*,ServidorAdm=$SERVERIP," \
-e "s,IPlocal=.*,IPlocal=$SERVERIP," \
-e "s,UrlMenu=https?://\([^/]*\)/\(.*\),UrlMenu=https://$SERVERIP/\2," \
-e '/localhost/!s,https\?://[^/]*/\(.*\),https://'$SERVERIP'/\1,' $f >$tmpfile
file="${f/./-$1.}"
# Si se usa otro interfaz o cambian los datos de red; ...