From 897838a8c27e6903c74881c5d312e6b166052b26 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 21 Sep 2005 20:09:39 +0000 Subject: Trigger filter reload after changes --- sbin/dhclient-script | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sbin/dhclient-script') 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 -- cgit v1.1