From 1a7c3262d2b895869bcb04b39e7145017fce9667 Mon Sep 17 00:00:00 2001 From: Eugene Date: Thu, 25 Mar 2010 15:42:28 +0000 Subject: Make checkbox Services->NRPEv2->Enabled checked after installed as the service is actually running. --- config/nrpe2/nrpe2.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/nrpe2/nrpe2.inc') diff --git a/config/nrpe2/nrpe2.inc b/config/nrpe2/nrpe2.inc index 261f2e3b..8898bc9c 100644 --- a/config/nrpe2/nrpe2.inc +++ b/config/nrpe2/nrpe2.inc @@ -32,7 +32,7 @@ function nrpe2_custom_php_install_command() $ip = $config['interfaces']['lan']['ipaddr']; - $config['installedpackages']['nrpe2']['config'][0]['enabled'] = TRUE; + $config['installedpackages']['nrpe2']['config'][0]['enabled'] = "on"; $config['installedpackages']['nrpe2']['config'][0]['server_address'] = $ip; $config['installedpackages']['nrpe2']['config'][0]['server_port'] = 5666; $config['installedpackages']['nrpe2']['config'][0]['allowed_hosts'] = "127.0.0.1"; @@ -188,4 +188,4 @@ function nrpe2_custom_php_service() } } -?> \ No newline at end of file +?> -- cgit v1.2.3