summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-05-27 07:56:11 +0000
committerErmal <eri@pfsense.org>2011-05-27 07:56:11 +0000
commitdfb30a896c7c6ccbc19330d8cc2ef00e20725f2c (patch)
tree155e3afd639108d9e770f4179c753416f8b6719b /etc
parent13f0762d9c2f23e19eec13dc1041506c40051be8 (diff)
downloadpfsense-dfb30a896c7c6ccbc19330d8cc2ef00e20725f2c.zip
pfsense-dfb30a896c7c6ccbc19330d8cc2ef00e20725f2c.tar.gz
Trigger reloading of packages through check_reload_status so it can serialize the calls to not DoS the OS with processes triggered from this. Ticket #1534
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.newwanip2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 0395099..93eb089 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -51,7 +51,7 @@ function restart_packages() {
/* restart packages */
system_ntp_configure();
log_error("{$g['product_name']} package system has detected an ip change $oldip -> $curwanip ... Restarting packages.");
- mwexec_bg("/etc/rc.start_packages");
+ send_event("reload packages");
}
/* Interface IP address has changed */
OpenPOWER on IntegriCloud