summaryrefslogtreecommitdiffstats
path: root/server/bin
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2011-10-03 09:45:02 +0000
committerramon <ramongomez@us.es>2011-10-03 09:45:02 +0000
commitf80f8395ef14352d47f79faa011034bdbb18ebb3 (patch)
treefe8eb87550133ce9f3ae731de8029a488b9eeb35 /server/bin
parent75a296b717451278d9aaa92738dd9b317773f512 (diff)
VersiĆ³n 1.0.2: corregir errata en {{{setclientmod}}}; actualizador reinicia DHCP si cambia el arranque (modifica #444)
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2332 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin')
-rwxr-xr-xserver/bin/setclientmode2
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\";"