diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-28 09:01:07 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-28 09:01:07 -0300 |
commit | 3977f59b180791156208cd6865eef5cae734f044 (patch) | |
tree | 85076ce952355cf3894a5b3f52726439445f0656 /config/nrpe2 | |
parent | 66dad7feacac607560844228c0cd58537bc1a994 (diff) | |
parent | 3bdbee31d112b473ce66bcd321cdcd706dc17131 (diff) | |
download | pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.gz pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.bz2 pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.zip |
Merge pull request #1024 from doktornotor/patch-4
Diffstat (limited to 'config/nrpe2')
-rw-r--r-- | config/nrpe2/nrpe2.inc | 9 | ||||
-rw-r--r-- | config/nrpe2/nrpe2.xml | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/config/nrpe2/nrpe2.inc b/config/nrpe2/nrpe2.inc index b5e6a7d9..08aeb5c4 100644 --- a/config/nrpe2/nrpe2.inc +++ b/config/nrpe2/nrpe2.inc @@ -51,7 +51,6 @@ define('NRPE_RCFILE', '/usr/local/etc/rc.d/nrpe2.sh'); function nrpe2_custom_php_install_command() { global $g, $config; - conf_mount_rw(); $NRPE_BASE = NRPE_BASE; $NRPE_CONFIG_DIR = NRPE_CONFIG_DIR; @@ -159,14 +158,6 @@ EOD; fclose($fd); chmod(NRPE_RCFILE, 0755); - conf_mount_ro(); -} - -function nrpe2_custom_php_deinstall_command() { - global $g, $config; - conf_mount_rw(); - - conf_mount_ro(); } function nrpe2_custom_php_write_config() { diff --git a/config/nrpe2/nrpe2.xml b/config/nrpe2/nrpe2.xml index 1204e8ec..f70835c3 100644 --- a/config/nrpe2/nrpe2.xml +++ b/config/nrpe2/nrpe2.xml @@ -179,7 +179,6 @@ nrpe2_custom_php_service(); </custom_php_install_command> <custom_php_deinstall_command> - nrpe2_custom_php_deinstall_command(); nrpe2_custom_php_write_config(); </custom_php_deinstall_command> <custom_php_resync_config_command> |