From 0ccf4868cff4ca2e82cbcc1093116534aaad2e0c Mon Sep 17 00:00:00 2001 From: Arne Fitzennreiter Date: Sat, 25 Oct 2008 13:41:20 +0200 Subject: [PATCH] Fix ip-up pingtest answer --- src/ppp/ip-up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ppp/ip-up b/src/ppp/ip-up index 25ac2b96e..9168eef40 100644 --- a/src/ppp/ip-up +++ b/src/ppp/ip-up @@ -52,7 +52,7 @@ TEST=`/usr/bin/ping -c 2 $5 2>/dev/null | tail -2 | head -1 | cut -d"," -f2`; grep -v "gateway" /etc/hosts > /tmp/hosts -if [ "$TEST" == " 2 packets received" ]; then +if [ "$TEST" == " 2 received" ]; then #ping the ppp-gateway echo "$5 gateway" >> /tmp/hosts else -- 2.39.2