summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-03-26 08:14:44 +0000
committerramon <ramongomez@us.es>2012-03-26 08:14:44 +0000
commit337e15f685d4d85ad5fd7a39a79df5480b46976a (patch)
tree15d429b913c5d9cfd70908b95688cd05a9983b29 /server
parent5bac736694b73d233e6a55250cfb1d07ce64ea0a (diff)
#514: script {{{setsmbpass}}} reconstruye el checksum del fichero Initrd que se envĂ­a al cliente.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2922 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server')
-rwxr-xr-xserver/bin/setsmbpass1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/bin/setsmbpass b/server/bin/setsmbpass
index e932cc94..c3625b5e 100755
--- a/server/bin/setsmbpass
+++ b/server/bin/setsmbpass
@@ -58,6 +58,7 @@ if [ -r $CLIENTINITRD ]; then
echo "$PROG: Aviso: no se ha modificado la clave del cliente."
fi
rm -fr $TMPDIR
+ md5sum $CLIENTINITRD | cut -f1 -d" " > $CLIENTINITRD.sum
else
SAMBAPASS="og" # Clave por defecto.
echo "$PROG: Aviso: no se ha modificado la clave del cliente."