1b2c830e673cebba2e746ecfa4af63f749011353
4 set machine_IP
=10.133.28.160
6 set pc_chemin_winscp
=C
:\"Program
Files"\WinSCP\
7 set pc_chemin_config=C:\temp\config_trc6500\
10 echo Mise � jour de la configuration du TRC6500...
12 ping -n 1 %machine_IP% | find "TTL
" > NUL
13 if errorlevel 1 goto cible_injoignable
19 set cmd=winscp %session% /command lcd" %pc_chemin_config%/new
" call" rm config.tar.gz
" call" mkdir -p temp
" put" config.tar.gz
" call" tar xzf config.tar.gz
-C temp
/" call" cat temp
/dhcpd.conf.user
>/etc
/dhcp3
/dhcpd.conf.user
" call" cat temp
/hosts.user
>/etc
/hosts
" call" cat temp
/hosts.user
> ..
/system_esclave
/etc
/hosts
" call" ..
/scripts
/create_image.sh
" call" rm
-rf temp
" call" rm
-f ..
/boot_reseau
/initramfs.
*" call" ..
/scripts
/create_bootloader.sh
" call" /etc
/init.d
/dhcp3
-server restart
" exit
35 echo Erreur : Machine cible (%machine_IP%) non joignable