ota
over the air updates
This script should be written using the c shell
solution
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>>>>>>
#!/bin/sh
cd /tmp
dist=xxxxxxxx
updateserver=xx.x.xx.xx
echo "getting updates from server"
wget http://$updateserver/$dist
cd/
tar xzf /tmp/$dist
echo "running setup.sh"
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......
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).