diff options
author | ramon <ramongomez@us.es> | 2011-10-03 12:34:56 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-10-03 12:34:56 +0000 |
commit | fea70bf0d54939458202d8b2d56ea2c78365ea21 (patch) | |
tree | cb99a8000ba8ec5aa4526eb22af3421a84a3d8d5 /server/bin/setclientmode | |
parent | d16b7cff6126323ccd05f0f4597c162f46ad0432 (diff) |
Versión 1.0.2: nuevas funciones {{{ogGetGroupName}}} y {{{ogGetGroupDir}}}; corregir pequeña errata en comando {{{setclientmode}}} (modifica #427 y #444)
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2335 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/setclientmode')
-rwxr-xr-x | server/bin/setclientmode | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/bin/setclientmode b/server/bin/setclientmode index aca27f40..ecacf247 100755 --- a/server/bin/setclientmode +++ b/server/bin/setclientmode @@ -70,7 +70,7 @@ for AUX in $ETHERNET; do JOIN repositorios ON ordenadores.idrepositorio=repositorios.idrepositorio WHERE ordenadores.mac=\"$ETHERNET\";") DATOS=$(echo ${DATOS// /} | tr 'áéíóúñÁÉÍÓÚÑ' 'aeiounAEIOUN') - perl -pi -e "s/INFOHOST/$DATOS/" $PXEDIR/$AUX + perl -pi -e "s/INFOHOST/$DATOS/g" $PXEDIR/$AUX mysql -u "$USUARIO" -p"$PASSWORD" -D "$CATALOG" -N -e \ "UPDATE ordenadores SET arranque=\"$1\" WHERE mac=\"$ETHERNET\";" fi |