Versión 1.0.2: corregir erratas revisión r2357

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2358 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/debian-pkg
ramon 2011-10-21 11:54:14 +00:00
parent 95ca83a4df
commit fd0c323b9b
1 changed files with 3 additions and 3 deletions

View File

@ -603,7 +603,7 @@ fi
[ $# == 2 ] || return $(ogRaiseError $OG_ERR_FORMAT; echo $?)
# Comprobar que existe el directorio del fichero de comandos.
CMDDIR=$(ogGetPath "$1/windows/system32")
[ -n "$CMDDIR" ] || ogReiseError OG_NOTFOUND "$1/windows/system32" || return $?
[ -n "$CMDDIR" ] || ogRaiseError $OG_ERR_NOTFOUND "$1/windows/system32" || return $?
CMDFILE="$CMDDIR/$2"
# Creamos el archivo cmd y creamos un par de comandos para que una vez acabe la
@ -646,7 +646,7 @@ fi
[ $# == 3 ] || return $(ogRaiseError $OG_ERR_FORMAT; echo $?)
# Comprobar que existe el fichero de comandos.
CMDFILE=$(ogGetPath "$1/windows/system32/$2")
[ -n "$CMDFILE" ] || ogReiseError OG_NOTFOUND "$1/windows/system32/$2" || return $?
[ -n "$CMDFILE" ] || ogRaiseError $OG_ERR_NOTFOUND "$1/windows/system32/$2" || return $?
cat >> "$CMDFILE" << EOF
$3
@ -680,7 +680,7 @@ fi
[ $# == 5 ] || return $(ogRaiseError $OG_ERR_FORMAT; echo $?)
# Comprobar que existe el directorio de comandos.
CMDDIR=$(ogGetPath "$1/windows/system32")
[ -n "$CMDDIR" ] || ogReiseError OG_NOTFOUND "$1/windows/system32" || return $?
[ -n "$CMDDIR" ] || ogRaiseError $OG_ERR_NOTFOUND "$1/windows/system32" || return $?
# Añadimos en el cmd que se ejecutara al arranque, el comando de ejecutar el script que añade al dominio.
ogAddCmd $1 "$2" "CSCRIPT joindomain.vbs"