Added netupdate script

This commit is contained in:
Bobbi Webber-Manners 2021-06-05 18:21:17 -04:00
parent a4f22f87d3
commit 8d350f1f29

18
ADMIN/netupdate Normal file
View File

@ -0,0 +1,18 @@
#!/bin/sh
# Update A2osX over the Internet
# Bobbi 2021
if [ $# -ne 1 ]
echo usage: update <buildnum>
exit
fi
if [ -d ${ROOT}root/updates ]
else
mkdir ${ROOT}root/updates
fi
echo Requesting A2osX build $1
httpget update.a2osx.net -U update.$1 -o ${ROOT}root/updates/update.$1
cd ${ROOT}
unpak root/updates/update.$1