summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/services.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index a4769df..7de77a8 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -875,6 +875,7 @@ function setup_wireless_olsr() {
$mt = microtime();
echo "setup_wireless_olsr($interface) being called $mt\n";
}
+ conf_mount_rw();
foreach($config['installedpackages']['olsrd']['config'] as $olsrd) {
$fd = fopen("{$g['varetc_path']}/olsr.conf", "w");
$olsr .= <<<EODA
@@ -1175,6 +1176,8 @@ EOD;
mwexec("killall -HUP olsrd");
else
mwexec_bg("/usr/local/sbin/olsrd -f {$g['varetc_path']}/olsr.conf");
+
+ conf_mount_ro();
}
?> \ No newline at end of file
OpenPOWER on IntegriCloud