diff options
author | Ermal <eri@pfsense.org> | 2010-11-10 21:42:46 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-11-10 21:42:46 +0000 |
commit | dd18038e5032e8a68a8af9bece9a828768615248 (patch) | |
tree | 8b12bca5ad4dd7ef07325e49db59066bb1e62371 /etc/inc | |
parent | e7d3fc15329347ef244123a20af5384e54ce46fd (diff) | |
download | pfsense-dd18038e5032e8a68a8af9bece9a828768615248.zip pfsense-dd18038e5032e8a68a8af9bece9a828768615248.tar.gz |
* Call get_configured_interface_* functions only once in the code
* Optimize the test if the passed interface is a vaild one
* Fix the apply settings to actually do something rather than do nothing at all
* Some style and whitespace fixes
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/services.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 9cf128e..04651d0 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -714,6 +714,7 @@ function services_snmpd_configure() { /* kill any running snmpd */ sigkillbypid("{$g['varrun_path']}/snmpd.pid", "TERM"); + sleep(2); if(is_process_running("bsnmpd")) mwexec("/usr/bin/killall bsnmpd", true); |