summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ppp-linkup
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-09-07 19:36:53 +0000
committerErmal <eri@pfsense.org>2010-09-07 19:36:53 +0000
commit0ae6daf8342d8a07d33bf6677ce9a228530defac (patch)
tree11e06c8535944fa24ba9ee9f8fba8e6d42380a0b /usr/local/sbin/ppp-linkup
parent298e5e0ab913f32759805b5dc5ba204eb3795609 (diff)
downloadpfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.zip
pfsense-0ae6daf8342d8a07d33bf6677ce9a228530defac.tar.gz
Use the new events mechanisms to dispatch events.
Diffstat (limited to 'usr/local/sbin/ppp-linkup')
-rwxr-xr-xusr/local/sbin/ppp-linkup2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/ppp-linkup b/usr/local/sbin/ppp-linkup
index 4002e42..67b0832 100755
--- a/usr/local/sbin/ppp-linkup
+++ b/usr/local/sbin/ppp-linkup
@@ -14,7 +14,7 @@ if [ $8 = "dns2" ]; then
fi
# let the configuration system know that the ip has changed.
-/bin/echo $1 > /tmp/rc.newwanip
+/usr/local/sbin/pfSctl -c "'interface reload $1'"
/bin/echo $4 > /tmp/$1_router
/usr/bin/touch /tmp/$1up
exit 0
OpenPOWER on IntegriCloud