diff options
author | jim-p <jim@pingle.org> | 2009-10-11 17:13:08 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-10-11 17:13:08 -0400 |
commit | 2880764c58a70fd659db7b816a2ac0f9308d95f5 (patch) | |
tree | 15acac01c01105f0cbcd13bbc6bce25a416a13c8 /config/darkstat/darkstat.xml | |
parent | cd36cc93208e45bb3a9355c5fb6a4b7dc49d75aa (diff) | |
download | pfsense-packages-2880764c58a70fd659db7b816a2ac0f9308d95f5.tar.gz pfsense-packages-2880764c58a70fd659db7b816a2ac0f9308d95f5.tar.bz2 pfsense-packages-2880764c58a70fd659db7b816a2ac0f9308d95f5.zip |
Add rw/ro calls to Darkstat. May fix its issues on nano
Diffstat (limited to 'config/darkstat/darkstat.xml')
-rw-r--r-- | config/darkstat/darkstat.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/darkstat/darkstat.xml b/config/darkstat/darkstat.xml index f1e5d37c..f6eb2669 100644 --- a/config/darkstat/darkstat.xml +++ b/config/darkstat/darkstat.xml @@ -82,6 +82,7 @@ </fields> <custom_php_global_functions> function sync_package_darkstat() { + conf_mount_rw(); $first = 0; foreach($_POST['interface_array'] as $iface) { $if = convert_friendly_interface_to_real_interface_name($iface); @@ -98,6 +99,7 @@ ) ); start_service("darkstat"); + conf_mount_ro(); } </custom_php_global_functions> <custom_add_php_command> |