diff options
author | jim-p <jimp@pfsense.org> | 2011-01-07 15:25:46 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-01-07 15:25:46 -0500 |
commit | 33a1414c76dd2830bb392d8d6707eb4f73396021 (patch) | |
tree | ccd92661b687c356045034927dcdb7d92b57bf45 /config/siproxd.inc | |
parent | 9c52365bf77501b329f05f9d6ff166b3d03c988b (diff) | |
download | pfsense-packages-33a1414c76dd2830bb392d8d6707eb4f73396021.tar.gz pfsense-packages-33a1414c76dd2830bb392d8d6707eb4f73396021.tar.bz2 pfsense-packages-33a1414c76dd2830bb392d8d6707eb4f73396021.zip |
Remove rw/ro calls in siproxd sync functions, the rw/ro switch should be handled by the package code.
Diffstat (limited to 'config/siproxd.inc')
-rw-r--r-- | config/siproxd.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/config/siproxd.inc b/config/siproxd.inc index 8e74143e..381e5221 100644 --- a/config/siproxd.inc +++ b/config/siproxd.inc @@ -31,7 +31,6 @@ if(!function_exists("filter_configure")) require_once("filter.inc"); function sync_package_sipproxd_users() { - conf_mount_rw(); global $config; $fout = fopen("/usr/local/etc/siproxd_passwd.cfg","w"); fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n"); @@ -41,7 +40,6 @@ function sync_package_sipproxd_users() { } } fclose($fout); - conf_mount_ro(); system("/usr/bin/killall -HUP siproxd"); } @@ -95,8 +93,6 @@ function siproxd_generate_rules($type) { function sync_package_siproxd() { global $config; - conf_mount_rw(); - $siproxd_chroot = "/var/siproxd/"; @mkdir($siproxd_chroot); @chown($siproxd_chroot, "nobody"); @@ -248,9 +244,6 @@ function sync_package_siproxd() { sleep(3); filter_configure(); - - conf_mount_ro(); - } function validate_form_siproxd($post, $input_errors) { |