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:03 -0500 |
commit | 3cc5a3865ab8128587553c0ced744d0df7fcb390 (patch) | |
tree | 6802479fad84b9f441b427d7b8c8b2f42567a01d /src/etc | |
parent | 5a0235caa1600f4ea9601edcbfedab48b837174e (diff) | |
download | pfsense-3cc5a3865ab8128587553c0ced744d0df7fcb390.zip pfsense-3cc5a3865ab8128587553c0ced744d0df7fcb390.tar.gz |
Skip ro mounting to make nanobsd permanent rw mode regardless of config. Ticket #6184
Diffstat (limited to 'src/etc')
-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 */ |