summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-01-07 17:28:27 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-01-07 17:28:36 -0500
commit52f4c092b14cca36bcc430717baf907273b66532 (patch)
tree5a6ae915a969cdfb15970e46be15ee158cbf3efc /etc
parentb89c34aacfcde984b0395ffc0b0fbf8e3361cb03 (diff)
downloadpfsense-52f4c092b14cca36bcc430717baf907273b66532.zip
pfsense-52f4c092b14cca36bcc430717baf907273b66532.tar.gz
Add back booting check that existed prior to refcount code. We will improve upon this next week.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.lib.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc
index 5424d96..0e4d754 100644
--- a/etc/inc/config.lib.inc
+++ b/etc/inc/config.lib.inc
@@ -346,6 +346,9 @@ function conf_mount_ro() {
if($g['platform'] == "cdrom" or $g['platform'] == "pfSense")
return;
+ if($g['booting'])
+ return;
+
if (refcount_unreference(1000) > 0)
return;
@@ -838,4 +841,4 @@ function set_device_perms() {
}
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud