diff options
Diffstat (limited to 'test-scripts/bin')
-rwxr-xr-x | test-scripts/bin/anytun-svn | 4 | ||||
-rwxr-xr-x | test-scripts/bin/anytun-svn-run | 10 | ||||
-rwxr-xr-x | test-scripts/bin/anytun-svn-scripts | 3 |
3 files changed, 17 insertions, 0 deletions
diff --git a/test-scripts/bin/anytun-svn b/test-scripts/bin/anytun-svn new file mode 100755 index 0000000..29931cb --- /dev/null +++ b/test-scripts/bin/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/bin/anytun-svn-run b/test-scripts/bin/anytun-svn-run new file mode 100755 index 0000000..cf12181 --- /dev/null +++ b/test-scripts/bin/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 diff --git a/test-scripts/bin/anytun-svn-scripts b/test-scripts/bin/anytun-svn-scripts new file mode 100755 index 0000000..efb8891 --- /dev/null +++ b/test-scripts/bin/anytun-svn-scripts @@ -0,0 +1,3 @@ +#!/bin/sh +cp -a /home/otti/anytun/test-scripts/bin/* /bin +cp -a /home/otti/anytun/test-scripts/cron/* /etc/cron.d |