Only restart packages if the IP address changes

This commit is contained in:
Scott Ullrich 2007-02-09 21:29:11 +00:00
parent e415bfab3c
commit f00f639780

View File

@ -115,7 +115,8 @@ touch("/tmp/filter_dirty");
enable_rrd_graphing();
/* restart packages */
exec("/etc/rc.start_packages");
if($old_ip <> $curwanip)
exec("/etc/rc.start_packages");
/* reload slbd */
/* if ($config['load_balancer']['lbpool']['type'] == "gateway") */