summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-21 20:09:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-21 20:09:39 +0000
commit897838a8c27e6903c74881c5d312e6b166052b26 (patch)
treeeff9595f215f0cc2e90c33e9c673c54c7374df98 /sbin
parent5999dd9cdef78f0f056a5b0666764c29338023ce (diff)
downloadpfsense-897838a8c27e6903c74881c5d312e6b166052b26.zip
pfsense-897838a8c27e6903c74881c5d312e6b166052b26.tar.gz
Trigger filter reload after changes
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/dhclient-script6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 88f2604..2e35730 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -75,7 +75,6 @@ add_new_address() {
$LOGGER "New Routers ($interface): $new_routers"
echo $new_routers > /tmp/${interface}_router
-
}
delete_old_alias() {
@@ -168,6 +167,8 @@ add_new_resolv_conf() {
# Must be used on exit. Invokes the local dhcp client exit hooks, if any.
exit_with_hooks() {
/etc/rc.newwanip
+ # trigger filter reload
+ touch /tmp/filter_dirty
# probably should do something with exit status of the local script
exit 0
}
@@ -269,4 +270,7 @@ TIMEOUT)
;;
esac
+# trigger filter reload
+touch /tmp/filter_dirty
+
exit_with_hooks 0
OpenPOWER on IntegriCloud