summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/dhclient-script7
1 files changed, 2 insertions, 5 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 132946d..7f1862e 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -81,10 +81,7 @@ add_new_address() {
echo $new_routers > /tmp/${interface}_router
cp /var/db/${interface}_ip /tmp/rc.newwanip_oldip 2>/dev/null
-# echo $new_ip_address > /var/db/${interface}_ip
-
- echo $interface > /tmp/rc.newwanip
-# echo $new_ip_address >> /tmp/rc.newwanip
+ /usr/local/sbin/pfSctl -c "'interface reload $interface'"
}
@@ -186,7 +183,7 @@ add_new_resolv_conf() {
echo $new_domain_name >/var/etc/defaultdomain.conf
fi
- echo $interface > /tmp/rc.newwanip
+ /usr/local/sbin/pfSctl -c "'interface reload $interface'"
return 0
}
OpenPOWER on IntegriCloud