diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-21 20:09:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-21 20:09:39 +0000 |
commit | 897838a8c27e6903c74881c5d312e6b166052b26 (patch) | |
tree | eff9595f215f0cc2e90c33e9c673c54c7374df98 /sbin | |
parent | 5999dd9cdef78f0f056a5b0666764c29338023ce (diff) | |
download | pfsense-897838a8c27e6903c74881c5d312e6b166052b26.zip pfsense-897838a8c27e6903c74881c5d312e6b166052b26.tar.gz |
Trigger filter reload after changes
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/dhclient-script | 6 |
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 |