From e556dea72cedc320853ede7f5ad8edd66f80a531 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 28 Sep 2005 00:03:22 +0000 Subject: [PATCH] If debugging is enabled, do not mute the console when bringing up the optional interfacs. we're trying to chase down a panic/freeze. --- etc/inc/interfaces.inc | 1 - etc/rc.bootup | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index e595cefc12..4147d5deef 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 ca7a697870..b3a2102d17 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 */