aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene <evg.yurch@rogers.com>2010-03-25 15:42:28 +0000
committerEugene <evg.yurch@rogers.com>2010-03-25 15:42:28 +0000
commit1a7c3262d2b895869bcb04b39e7145017fce9667 (patch)
tree180c8ebea156439ca8cc3ea1755e4ec4c0232f13
parent8d47a3b975dc9d9036283fd5918d5bdb61b155aa (diff)
downloadpfsense-packages-1a7c3262d2b895869bcb04b39e7145017fce9667.tar.gz
pfsense-packages-1a7c3262d2b895869bcb04b39e7145017fce9667.tar.bz2
pfsense-packages-1a7c3262d2b895869bcb04b39e7145017fce9667.zip
Make checkbox Services->NRPEv2->Enabled checked after installed as the service is actually running.
-rw-r--r--config/nrpe2/nrpe2.inc4
1 files changed, 2 insertions, 2 deletions
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
+?>