04-02-2009
30,
0
Join Date: Mar 2009
Last Activity: 30 April 2009, 5:39 PM EDT
Posts: 30
Thanks Given: 0
Thanked 0 Times in 0 Posts
This is my base script. It goes out to the clients, but it doesn't complete the download before going to the next client. Can anybody suggest something I can change to make this script stop to do the update and then move on to the next client? Thanks!
# this script works to update Firmware
#
USERNAME=loginname
PDW=password
NEW=http://xx.xx.xx.xx/newsoftwarename.txt
date 2>&1
sleep 1
cat file1 | while read H
do
(
sleep 1
echo $USERNAME
sleep 1
echo $PDW
sleep 2
echo $NEW
sleep 3
) | telnet $H 24
done