ts-7000
[Top] [All Lists]

[ts-7000] TS-7500 File changes after reboot

To:
Subject: [ts-7000] TS-7500 File changes after reboot
From: "nxtcomputing" <>
Date: Wed, 07 Apr 2010 15:09:05 -0000
Hi All,

I have a bunch of TS-7500 boards with microSD cards that I am trying to update 
programs on. I have written a script file that telnets to the board, removes 
any existing update files,  uses wget to download the update file to the board, 
then executes the update script.

The update script is shown below:
----------------------------------------
#! /bin/sh

rm /mnt/root/home/eclipse/rackstartup.sh
wait
wget m("192.168.3.83/rackstartup.sh","ppart");">ftp://ppart: 
/mnt/root/home/eclipse/rackstartup.sh &
wait
killall sysmgmt.exe
wait
rm /mnt/root/home/eclipse/sysmgmt.exe
wait
wget m("192.168.3.83/sysmgmt.exe","ppart");">ftp://ppart: 
/mnt/root/home/eclipse/sysmgmt.exe &
wait
killall rackcontroller.exe
wait
rm /mnt/root/home/eclipse/rackcontroller.exe
wait
wget m("192.168.3.83/rackcontroller.exe","ppart");">ftp://ppart: 
/mnt/root/home/eclipse/rackcontroller.exe &
wait
sleep 1
chmod 755 rackstartup.sh &
chmod 755 rackcontroller.exe &

wait
sleep 10
umount -a
reboot
----------------------------------------

This almost always works but sometimes does not. When it doesn't work the files 
that were supposed to copy are either not there or not executable. I think 
there is a delay with the microSD card writing. Or it reboots before the 
microSD is done.

Does anyone have suggestions on how to fix this?

Thanks,
Rob




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU