From 2880764c58a70fd659db7b816a2ac0f9308d95f5 Mon Sep 17 00:00:00 2001 From: jim-p Date: Sun, 11 Oct 2009 17:13:08 -0400 Subject: Add rw/ro calls to Darkstat. May fix its issues on nano --- config/darkstat/darkstat.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/darkstat') 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 @@ 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(); } -- cgit v1.2.3