aboutsummaryrefslogtreecommitdiffstats
path: root/config/darkstat/darkstat.xml
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-10-11 17:13:08 -0400
committerjim-p <jim@pingle.org>2009-10-11 17:13:08 -0400
commit2880764c58a70fd659db7b816a2ac0f9308d95f5 (patch)
tree15acac01c01105f0cbcd13bbc6bce25a416a13c8 /config/darkstat/darkstat.xml
parentcd36cc93208e45bb3a9355c5fb6a4b7dc49d75aa (diff)
downloadpfsense-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.xml2
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>