summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@G5.local>2009-10-26 00:55:48 -0400
committerScott Ullrich <sullrich@G5.local>2009-10-26 00:55:48 -0400
commit70af94d7b30b50d3a91b82d9c904b3c26bdb71d1 (patch)
tree89ce9a1fa6ce660e93b44c7f15f29e92a6a5e0f5
parent36bf235ee5e73ceb33ea31e1a30fa3d11e18b30a (diff)
downloadpfsense-70af94d7b30b50d3a91b82d9c904b3c26bdb71d1.zip
pfsense-70af94d7b30b50d3a91b82d9c904b3c26bdb71d1.tar.gz
Add ppp endpoints IP as gateway
-rwxr-xr-xsbin/ppp-script2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud