summaryrefslogtreecommitdiff
path: root/files/sbin/test_gateway
diff options
context:
space:
mode:
authorwrtbuild <wrtbuild@localhost.(none)>2011-10-16 07:34:24 (GMT)
committerwrtbuild <wrtbuild@localhost.(none)>2011-10-16 07:34:24 (GMT)
commit64ca2d1ca4e6f9ae279fc17d84b2abd453140d28 (patch)
tree84a28cd644955e52bd6b91f2c474e9f338841119 /files/sbin/test_gateway
parent0850ac21d153d490ddc2b02f29b74b4b5ed88181 (diff)
add makefile to generate images
Diffstat (limited to 'files/sbin/test_gateway')
-rwxr-xr-xfiles/sbin/test_gateway15
1 files changed, 0 insertions, 15 deletions
diff --git a/files/sbin/test_gateway b/files/sbin/test_gateway
deleted file mode 100755
index 97296e2..0000000
--- a/files/sbin/test_gateway
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-TESTHOST=4.2.2.4
-ping -c 1 -w 5 $TESTHOST &>/dev/null
-
-if [ $? -ne 0 ] ; then
- // IP not reachable -> try if-down-up
- ifdown wan
- ifup wan
- sleep 10
- // Test Again
- ping -c 1 -w 5 4.2.2.4 &>/dev/null
- if [ $? -ne 0 ] ; then
- ifdown wan
- fi
-fi
contact: Jan Huwald // Impressum