wget for ota updates not understanding????????

  • 14 years ago

           over the air updates
    This script should be written using the c shell

    check the sever for frimware updates
    download an update file and its md5sum from the server.(usewget)
    check that the file downloaded matches its md5sum
    if it doesn't try downloading again
    apply the update you must know if the update finished successfull
    if so delete the update
    if not try updating again

    this is what i have>>>>>>

    cd /tmp
    echo "getting updates from server"
    wget http://$updateserver/$dist
    tar xzf /tmp/$dist
    echo "running setup.sh"

    i cannot seem to get this to work right
    i am new to this and just want to understand whats going wrong
    any help would be great  thanks......

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“We better hurry up and start coding, there are going to be a lot of bugs to fix.”