summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient-script
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dhclient-script')
-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