summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-05-04 03:44:03 -0500
committerChris Buechler <cmb@pfsense.org>2016-05-04 03:44:36 -0500
commit7a5ab9e2ec0dbd5315e13070695c502c18c3024b (patch)
treebd392e076e2fe6ce4c17ba50555ef5754f65e52b
parent3d3c8094eb9fbe2ea4a66052858a44bde201b212 (diff)
downloadpfsense-7a5ab9e2ec0dbd5315e13070695c502c18c3024b.zip
pfsense-7a5ab9e2ec0dbd5315e13070695c502c18c3024b.tar.gz
Skip ro mounting to make nanobsd permanent rw mode regardless of config. Ticket #6184
-rw-r--r--src/etc/inc/config.lib.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/inc/config.lib.inc b/src/etc/inc/config.lib.inc
index 117f29d..9620841 100644
--- a/src/etc/inc/config.lib.inc
+++ b/src/etc/inc/config.lib.inc
@@ -377,6 +377,9 @@ function conf_mount_rw() {
function conf_mount_ro() {
global $g, $config;
+ // do nothing here. redmine #6184
+ return;
+
/* Do not trust $g['platform'] since this can be clobbered during factory reset. */
$platform = trim(file_get_contents("/etc/platform"));
/* do not umount on cdrom or pfSense platforms */
OpenPOWER on IntegriCloud