diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 09:26:23 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 09:26:23 +0200 |
commit | c021a2b3081aa369acd8c4d4228d49145ef9a3af (patch) | |
tree | da3f91ddabae82f06bbfe80ad1fea861f07f2316 | |
parent | 5c616736ed1a94e9ae4a65da3f433aeee000d810 (diff) | |
download | pfsense-packages-c021a2b3081aa369acd8c4d4228d49145ef9a3af.tar.gz pfsense-packages-c021a2b3081aa369acd8c4d4228d49145ef9a3af.tar.bz2 pfsense-packages-c021a2b3081aa369acd8c4d4228d49145ef9a3af.zip |
Remove useless remount calls
These are dealt with by install_package() from pkg-utils.inc. Also, the nrpe2_custom_php_deinstall_command() function was completely useless, doing nothing else but remounts.
-rw-r--r-- | config/nrpe2/nrpe2.inc | 9 |
1 files changed, 0 insertions, 9 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() { |