diff options
author | ramon <ramongomez@us.es> | 2016-11-18 08:52:38 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-11-18 08:52:38 +0000 |
commit | 7b3dc7ab2fcebebef7229ac663a3d3ee61263d0e (patch) | |
tree | e83279c9a9b9bb02d78abd7aa60a3d6256744fce /server/bin/setclientmode | |
parent | 006c122d032a8672aafc443f103f2c058fc3f53d (diff) |
Versión 1.0.6b #719: Usar ficheros PXE con MAC en mayúsculas (topic:288); soportar tabuladores en comparación DHCP-BD.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5099 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 a9964b7a..241ca07d 100755 --- a/server/bin/setclientmode +++ b/server/bin/setclientmode @@ -83,7 +83,7 @@ date +"%b %d %T $PROG: Configurando \"$1\" en \"$2\" en modo \"$3\"" | tee -a $L NPC=0 for MAC in $ETHERNET; do date +"%b %d %T $PROG: Detectada ethernet \"$MAC\" en \"$2\"" | tee -a $LOGFILE - MACFILE=$(echo $MAC | tr [a-z] [A-Z]) + MACFILE="${MAC^^}" PXEFILE=$PXEDIR/01-${MACFILE:0:2}-${MACFILE:2:2}-${MACFILE:4:2}-${MACFILE:6:2}-${MACFILE:8:2}-${MACFILE:10:2} # Renombra el fichero PXE original [ -e $PXEFILE ] && mv $PXEFILE $PXEFILE.netboot |