diff options
author | jim-p <jim@pingle.org> | 2009-10-11 16:57:41 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-10-11 16:58:33 -0400 |
commit | fb4ae17aabc42067f11488f843a9bc910a07e512 (patch) | |
tree | 70829957e918ea8713982d589fd209141774b071 /config | |
parent | 20436603ea72400617866c354ecfe42b5cc43ab0 (diff) | |
download | pfsense-packages-fb4ae17aabc42067f11488f843a9bc910a07e512.tar.gz pfsense-packages-fb4ae17aabc42067f11488f843a9bc910a07e512.tar.bz2 pfsense-packages-fb4ae17aabc42067f11488f843a9bc910a07e512.zip |
Add rw/ro calls to NRPE config write. Should fix on nano
Diffstat (limited to 'config')
-rw-r--r-- | config/nrpe2/nrpe2.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/nrpe2/nrpe2.inc b/config/nrpe2/nrpe2.inc index e9b72a8a..48a9b480 100644 --- a/config/nrpe2/nrpe2.inc +++ b/config/nrpe2/nrpe2.inc @@ -141,6 +141,7 @@ function nrpe2_custom_php_deinstall_command() function nrpe2_custom_php_write_config() { global $g, $config; + conf_mount_rw(); foreach ($config['installedpackages']['nrpe2']['config'][0]['row'] as $cmd) { @@ -169,6 +170,7 @@ connection_timeout=300 EOD; fwrite($fd, $nrpe_cfg); fclose($fd); + conf_mount_ro(); } function nrpe2_custom_php_service() |