nonotify in bootstrap and check server connectivity

This commit is contained in:
Daniel Berteaud 2012-04-20 18:45:08 +02:00
parent ab999f08f1
commit 3a36c8ef12
2 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,12 @@ echo. i i i
echo \\i________________________________________________________i
echo.
echo.
ping -n 2 -w 2000 $ip > NUL
if errorlevel 1 (
echo Reseau non connecte
exit /b %errorlevel%
)
net use \\\\$ip\\wpkg /user:$nt\\deploiement $pass >NUL
net use \\\\$ip\\wpkglogs /user:$nt\\deploiement $pass >NUL
set SOFTWARE=\\\\$ip\\wpkg\\softwares

View File

@ -4,5 +4,5 @@ cd "%~dp0"
call conf.bat
net use \\%IPASSERELLE_IP%\wpkg
net use \\%IPASSERELLE_IP%\wpkglogs
cscript "\\%IPASSERELLE_IP%\wpkg\wpkg.js" /debug /install:wpkg-gp /force
cscript "\\%IPASSERELLE_IP%\wpkg\wpkg.js" /debug /install:wpkg-gp /force /nonotify