diff options
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 a934783e..f02dc72f 100755 --- a/server/bin/setclientmode +++ b/server/bin/setclientmode @@ -58,7 +58,7 @@ for AUX in $ETHERNET; do AUX="01-${AUX:0:2}-${AUX:2:2}-${AUX:4:2}-${AUX:6:2}-${AUX:8:2}-${AUX:10:2}" # Si existe anteriormente lo borra [ -e $PXEDIR/$AUX ] && rm $PXEDIR/$AUX - if [ "$1" != "default" ]; thenm + if [ "$1" != "default" ]; then cp -a $TEMPLATE $PXEDIR/$AUX mysql -u "$USUARIO" -p"$PASSWORD" -D "$CATALOG" -N -e \ "UPDATE ordenadores SET arranque=\"$1\" WHERE mac=\"$ETHERNET\";" |