From ec0ff669c1742a6db841888a67797ba37e96cd72 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Tue, 18 Sep 2007 20:09:45 +0000 Subject: added automatic anycast node update scripts --- test-scripts/anytun | 1 + test-scripts/anytun-run | 1 + test-scripts/anytun-svn | 4 ++++ test-scripts/anytun-svn-run | 10 ++++++++++ 4 files changed, 16 insertions(+) create mode 100644 test-scripts/anytun create mode 100644 test-scripts/anytun-run create mode 100755 test-scripts/anytun-svn create mode 100755 test-scripts/anytun-svn-run diff --git a/test-scripts/anytun b/test-scripts/anytun new file mode 100644 index 0000000..dbd8a04 --- /dev/null +++ b/test-scripts/anytun @@ -0,0 +1 @@ +10 1 * * * otti /bin/anytun-svn diff --git a/test-scripts/anytun-run b/test-scripts/anytun-run new file mode 100644 index 0000000..9fbe022 --- /dev/null +++ b/test-scripts/anytun-run @@ -0,0 +1 @@ +15 1 * * * root /bin/anytun-svn-run diff --git a/test-scripts/anytun-svn b/test-scripts/anytun-svn new file mode 100755 index 0000000..29931cb --- /dev/null +++ b/test-scripts/anytun-svn @@ -0,0 +1,4 @@ +#!/bin/bash +cd /home/otti/anytun +svn up | grep -v Revision && make +exit 0 diff --git a/test-scripts/anytun-svn-run b/test-scripts/anytun-svn-run new file mode 100755 index 0000000..cf12181 --- /dev/null +++ b/test-scripts/anytun-svn-run @@ -0,0 +1,10 @@ +#!/bin/bash +cd /home/otti/anytun +killall anytun +sleep 5 +./anytun -i 77.87.240.1 -n 77.87.244.1 255.255.252.0 & +./anytun -i 77.87.240.1 -p 4445 -d anytun0 -t tun -n 77.87.240.2 77.87.240.3 -r 89.106.215.29 -o 4445 -w 0 & +sleep 5 +ip route add 77.87.241.0/24 via 77.87.240.3 dev anytun0 +ip link set anytun0 mtu 1400 +exit 0 -- cgit v1.2.3