From 70af94d7b30b50d3a91b82d9c904b3c26bdb71d1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 26 Oct 2009 00:55:48 -0400 Subject: Add ppp endpoints IP as gateway --- sbin/ppp-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin') diff --git a/sbin/ppp-script b/sbin/ppp-script index 977dbf2..3f2ca5c 100755 --- a/sbin/ppp-script +++ b/sbin/ppp-script @@ -1,3 +1,3 @@ #!/bin/sh -echo $1 > /tmp/${2}_router +/sbin/ifconfig $2 | grep "$1" | awk '{ print $2 }' > /tmp/$2_router -- cgit v1.1