summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ppp-linkup
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/sbin/ppp-linkup')
-rwxr-xr-xusr/local/sbin/ppp-linkup4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/sbin/ppp-linkup b/usr/local/sbin/ppp-linkup
index f1d7018..e0b44af 100755
--- a/usr/local/sbin/ppp-linkup
+++ b/usr/local/sbin/ppp-linkup
@@ -15,6 +15,8 @@ fi
# let the configuration system know that the ip has changed.
/bin/echo $4 > /tmp/$1_router
+/bin/echo $3 > /tmp/$1_ip
/usr/bin/touch /tmp/$1up
-/usr/local/sbin/pfSctl -c "'interface reload $1'"
+/usr/local/sbin/pfSctl -c 'service reload dns'
+/usr/local/sbin/pfSctl -c "interface reload $1"
exit 0
OpenPOWER on IntegriCloud