diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-05-04 03:44:03 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-05-04 03:44:36 -0500 |
commit | 7a5ab9e2ec0dbd5315e13070695c502c18c3024b (patch) | |
tree | bd392e076e2fe6ce4c17ba50555ef5754f65e52b /src | |
parent | 3d3c8094eb9fbe2ea4a66052858a44bde201b212 (diff) | |
download | pfsense-7a5ab9e2ec0dbd5315e13070695c502c18c3024b.zip pfsense-7a5ab9e2ec0dbd5315e13070695c502c18c3024b.tar.gz |
Skip ro mounting to make nanobsd permanent rw mode regardless of config. Ticket #6184
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/config.lib.inc | 3 |
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 */ |