aboutsummaryrefslogtreecommitdiffstats
path: root/config/nrpe2
diff options
context:
space:
mode:
authorEugene <evg.yurch@rogers.com>2010-03-25 18:16:23 +0000
committerEugene <evg.yurch@rogers.com>2010-03-25 18:16:23 +0000
commit29e6add826b3eaffb5b69f0a611a687fb062a6b9 (patch)
tree1a84d1e7d0f8aad447c444bb60c19b2fba33762a /config/nrpe2
parent1a7c3262d2b895869bcb04b39e7145017fce9667 (diff)
downloadpfsense-packages-29e6add826b3eaffb5b69f0a611a687fb062a6b9.tar.gz
pfsense-packages-29e6add826b3eaffb5b69f0a611a687fb062a6b9.tar.bz2
pfsense-packages-29e6add826b3eaffb5b69f0a611a687fb062a6b9.zip
NRPE2. When you click Save in Services->NRPEv2 nothing is changed in /usr/local/etc/nrpe.cfg and the service is not restarted. To make changes active you have to press Save the second time. This patch addresses both issues.
Diffstat (limited to 'config/nrpe2')
-rw-r--r--config/nrpe2/nrpe2.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/nrpe2/nrpe2.xml b/config/nrpe2/nrpe2.xml
index 723bbba9..61fadcaa 100644
--- a/config/nrpe2/nrpe2.xml
+++ b/config/nrpe2/nrpe2.xml
@@ -159,6 +159,8 @@
nrpe2_custom_php_write_config();
</custom_php_deinstall_command>
<custom_php_resync_config_command>
+ nrpe2_custom_php_write_config();
+ nrpe2_custom_php_service();
</custom_php_resync_config_command>
<custom_php_command_before_form>
unset($_POST['temp']);