3 # Upload data to Bytemark Hosting's content DNS servers
9 if [ ! -f $RSYNC ] ; then
10 echo "You need rsync installed to use this script"
11 if [ -f /etc/debian_version ] ; then
12 echo "I'll try to install it automatically."
17 for SERVER in upload ; do
18 echo -n "Server $SERVER.ns.bytemark.co.uk..."
19 if ping -c 1 $SERVER.ns.bytemark.co.uk >/dev/null 2>&1 ; then
20 echo -n "alive, sending updates..."
21 if $RSYNC -C -r --delete data/ dns@$SERVER.ns.bytemark.co.uk::$USER; then
27 echo "not responding."