From 52f4c092b14cca36bcc430717baf907273b66532 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 7 Jan 2011 17:28:27 -0500 Subject: Add back booting check that existed prior to refcount code. We will improve upon this next week. --- etc/inc/config.lib.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'etc') 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 -- cgit v1.1