aboutsummaryrefslogtreecommitdiffstats
path: root/config/nrpe2
diff options
context:
space:
mode:
Diffstat (limited to 'config/nrpe2')
-rw-r--r--config/nrpe2/nrpe2.inc9
-rw-r--r--config/nrpe2/nrpe2.xml1
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>