summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-09-07 19:44:02 +0000
committerErmal <eri@pfsense.org>2010-09-07 19:44:02 +0000
commitc3b1ba3fcd6284d2a36b23c5938a3fee4f520cdf (patch)
tree384a59ed530b07e7e6384585c771fda2f5013a8e /etc/rc.newwanip
parent0ae6daf8342d8a07d33bf6677ce9a228530defac (diff)
downloadpfsense-c3b1ba3fcd6284d2a36b23c5938a3fee4f520cdf.zip
pfsense-c3b1ba3fcd6284d2a36b23c5938a3fee4f520cdf.tar.gz
Ticket #876. Reload gateways/apinger before filter_reload so the new ip/gateway is considered up from the beginning.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index d06c493..9cb42f8 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -93,6 +93,9 @@ vpn_ipsec_force_reload();
/* start OpenVPN server & clients */
openvpn_resync_all($interface);
+/* reconfigure our gateway monitor */
+setup_gateways_monitor();
+
/* signal filter reload */
unlink_if_exists("/tmp/config.cache");
filter_configure();
@@ -100,10 +103,6 @@ filter_configure();
/* reload graphing functions */
enable_rrd_graphing();
-/* reconfigure our gateway monitor */
-setup_gateways_monitor();
-
-
/* restart packages */
mwexec_bg("/usr/local/sbin/ntpdate_sync_once.sh");
mwexec_bg("/etc/rc.start_packages");
OpenPOWER on IntegriCloud