From dfb30a896c7c6ccbc19330d8cc2ef00e20725f2c Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 27 May 2011 07:56:11 +0000 Subject: 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 --- etc/rc.newwanip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc.newwanip') 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 */ -- cgit v1.1