X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=src%2Fppp%2Fip-up;fp=src%2Fppp%2Fip-up;h=9168eef40c3dc393e92d57f31121f1472ef4a737;hp=25ac2b96e35cf7a7a7402dda35f5693218e8f35d;hb=0ccf4868cff4ca2e82cbcc1093116534aaad2e0c;hpb=5b55f2f88df493ce94c68a896e04f214bb75a3c8 diff --git a/src/ppp/ip-up b/src/ppp/ip-up index 25ac2b96e3..9168eef40c 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