bsdperimeter/pfsense — pull request #212 by phil-davis (2012-08-14 03:27:29+00:00)
Title: Move and remove conf_mount_r* calls

restore_config_section - move conf_mount_rw later, until right when it is needed. Avoids the possibility of an early return that leaves the file systems rw.
process_alias_urltable - all the filesystem activity is in /var, so there is no need to conf_mount_rw and conf_mount_ro.
During a boot on my nanobsd process_alias_urltable was getting called 9 times, with 9 needless conf_mount_rw and conf_mount_ro.
Anything to reduce these is good, particularly for systems that exhibit the unexplained slow conf_mount_ro behaviour.