From 29e6e88b80bf30fc4245485c0d8cdef66d95b410 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 21 Dec 2009 00:00:05 -0500 Subject: use correct gateway IP for PPP --- sbin/ppp-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/ppp-script b/sbin/ppp-script index 0aa7ced..e0caffa 100755 --- a/sbin/ppp-script +++ b/sbin/ppp-script @@ -1,7 +1,7 @@ #!/bin/sh # Set the router for this interface -/sbin/ifconfig $2 | grep "$1" | awk '{ print $2 }' > /tmp/$2_router +/sbin/ifconfig $2 | grep "$1" | awk '{ print $4 }' > /tmp/$2_router # Remove file if it exists if [ -f /var/etc/nameserver_$2 ]; then -- cgit v1.1