summaryrefslogtreecommitdiff
path: root/files/sbin/test_gateway
diff options
context:
space:
mode:
authorDarkeye <postfach@martinmichel.info>2011-01-22 22:16:16 (GMT)
committerDarkeye <postfach@martinmichel.info>2011-01-22 22:16:16 (GMT)
commit2bf355237c5fcddad8efa6a7a2c2b931ed7a2297 (patch)
tree1cb5f89bde16cb9ad3599561b746dc9efe92d96e /files/sbin/test_gateway
parentd992239563aa128ca389ed5014d9460ac968fb9e (diff)
debug output deleted
Diffstat (limited to 'files/sbin/test_gateway')
-rwxr-xr-xfiles/sbin/test_gateway2
1 files changed, 0 insertions, 2 deletions
diff --git a/files/sbin/test_gateway b/files/sbin/test_gateway
index c6742a6..97296e2 100755
--- a/files/sbin/test_gateway
+++ b/files/sbin/test_gateway
@@ -6,12 +6,10 @@ if [ $? -ne 0 ] ; then
// IP not reachable -> try if-down-up
ifdown wan
ifup wan
- echo Problem we restart wan
sleep 10
// Test Again
ping -c 1 -w 5 4.2.2.4 &>/dev/null
if [ $? -ne 0 ] ; then
- echo "Mist"
ifdown wan
fi
fi
contact: Jan Huwald // Impressum