summaryrefslogtreecommitdiff
path: root/files/common/sbin/test_gateway
diff options
context:
space:
mode:
authorKatze Miau <miaukatzemiau@priveasy.de>2011-12-20 19:34:03 (GMT)
committerKatze Miau <miaukatzemiau@priveasy.de>2011-12-20 19:34:03 (GMT)
commita68884e44d615ad3551bf4e9b81d47b9b6505336 (patch)
tree3ed8da1c44b850bba3dd5ef394c836e4acd70596 /files/common/sbin/test_gateway
parentd7e1ba6fbf5d4c6ea4f72c604338aba73f1464e7 (diff)
remove obsolete files: sbin/{setup_router,test_{gateway,vpn}}
- setup router is obsoleted by the autodiscovery of network status implemented in the previous commits - test_* is superseded by test_connectivity
Diffstat (limited to 'files/common/sbin/test_gateway')
-rwxr-xr-xfiles/common/sbin/test_gateway15
1 files changed, 0 insertions, 15 deletions
diff --git a/files/common/sbin/test_gateway b/files/common/sbin/test_gateway
deleted file mode 100755
index 97296e2..0000000
--- a/files/common/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