summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_advanced.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index c30f683..a714621 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -204,19 +204,22 @@ if ($_POST) {
write_config();
$retval = 0;
- config_lock();
- $retval = filter_configure();
+
if(stristr($retval, "error") <> true)
$savemsg = get_std_save_message($retval);
else
$savemsg = $retval;
- $retval |= interfaces_optional_configure();
- config_unlock();
-
+
+ $retval = filter_configure();
+
+ conf_mount_rw();
+
setup_serial_port();
setup_filter_bridge();
+ conf_mount_ro();
+
}
}
OpenPOWER on IntegriCloud