diff options
author | ramon <ramongomez@us.es> | 2013-03-11 13:43:48 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-03-11 13:43:48 +0000 |
commit | 632bd45f83166580de5856293e3c695867e6a733 (patch) | |
tree | c6a757bd6b23a3e20c70dc6dc5e00f0fcb5c5c45 /server/bin/setserveraddr | |
parent | 69fc529a7867053019dea4897c21005e5a290ba6 (diff) |
#586: Aplicar seguridad de acceso a MySQL al script de actualización y corregida errata en {{{setserveraddr}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3679 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/setserveraddr')
-rwxr-xr-x | server/bin/setserveraddr | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/bin/setserveraddr b/server/bin/setserveraddr index 5a0c6e77..694007d3 100755 --- a/server/bin/setserveraddr +++ b/server/bin/setserveraddr @@ -7,8 +7,11 @@ # Fecha: 2011-01-25 -# Comprobar parámetros. +# Variables globales. PROG="$(basename $0)" +MYCNF=/tmp/.my.cnf.$$ + +# Comprobar parámetros. if [ $# -ne 1 ]; then echo "$PROG: Incorrect operand. Format: $PROG device" >&2 exit 1 |