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-378ad31fedc9remotes/github/debian-pkg
parent
69052958f6
commit
f535be9c5f
|
@ -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; ...
|
||||
|
|
Loading…
Reference in New Issue