summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-28 00:03:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-28 00:03:22 +0000
commite556dea72cedc320853ede7f5ad8edd66f80a531 (patch)
tree26016fdbb33771e739e9cb8522731ed6cf4c4189 /etc
parent0ce1c22dad0ea8469ce38563ddccb2268a199e87 (diff)
downloadpfsense-e556dea72cedc320853ede7f5ad8edd66f80a531.zip
pfsense-e556dea72cedc320853ede7f5ad8edd66f80a531.tar.gz
If debugging is enabled, do not mute the console when bringing up the optional interfacs. we're trying to chase down a panic/freeze.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc1
-rwxr-xr-xetc/rc.bootup6
2 files changed, 4 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e595cef..4147d5d 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -218,7 +218,6 @@ function interfaces_optional_configure_if($opti) {
if ($optcfg['descr'])
$optdescr = " ({$optcfg['descr']})";
print "\tOPT{$opti}{$optdescr}... ";
- mute_kernel_msgs();
}
if (isset($optcfg['enable'])) {
diff --git a/etc/rc.bootup b/etc/rc.bootup
index ca7a697..b3a2102 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -139,9 +139,11 @@
/* set up Optional interfaces */
echo "Configuring OPT interfaces... ";
- mute_kernel_msgs();
+ if(!$debugging)
+ mute_kernel_msgs();
interfaces_optional_configure();
- unmute_kernel_msgs();
+ if(!$debugging)
+ unmute_kernel_msgs();
echo "done.\n";
/* start pflog */
OpenPOWER on IntegriCloud