diff options
author | ramon <ramongomez@us.es> | 2012-10-04 12:35:25 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-10-04 12:35:25 +0000 |
commit | f0cfbc0d2e8b55bf9a6af5574eb8523615087b37 (patch) | |
tree | 20792c75386eb2d38b7be45b64a3e60de5233a0c /server/bin/setsmbpass | |
parent | 7c52c303cde88b6b45a10ffda10af9dc8ceeb899 (diff) |
Versión 1.0.4a, #554: Cambio temporal del script {{{setsmbpass}}} para reconstruir el cliente para reiniciar sin Busybox.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3319 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/setsmbpass')
-rwxr-xr-x | server/bin/setsmbpass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/bin/setsmbpass b/server/bin/setsmbpass index b678ce91..ac920c00 100755 --- a/server/bin/setsmbpass +++ b/server/bin/setsmbpass @@ -54,6 +54,9 @@ if [ -r $CLIENTINITRD ]; then gzip -dc $CLIENTINITRD | cpio -im if [ -f scripts/ogfunctions ]; then sed -i "s/OPTIONS=\(.*\)user=\w*\(.*\)pass=\w*\(.*\)/OPTIONS=\1user=$SAMBAUSER\2pass=$SAMBAPASS\3/" scripts/ogfunctions + # TEMPORAL: solución ticket 554, actualizar cliente en caché (ogLive r3257). + sed -i "s/busybox reboot/reboot/" scripts/ogfunctions + # FIN CÓDIGO TEMPORAL. find . | cpio -H newc -oa | gzip -9c > $CLIENTINITRD else echo "$PROG: Aviso: no se ha modificado la clave del cliente." |