nonotify in bootstrap and check server connectivity

tags/0.0.1
Daniel Berteaud 13 years ago
parent ab999f08f1
commit 3a36c8ef12
  1. 6
      root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/wpkg/wpkg.bat/10All
  2. 2
      root/home/e-smith/files/shares/tools/files/scripts/bootstrap.bat

@ -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

@ -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

Loading…
Cancel
Save