diff options
-rwxr-xr-x | sbin/ppp-script | 2 |
1 files changed, 1 insertions, 1 deletions
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 |