If debugging is enabled, do not mute the console when bringing up the optional interfacs. we're trying to chase down a panic/freeze.

This commit is contained in:
Scott Ullrich 2005-09-28 00:03:22 +00:00
parent 0ce1c22dad
commit e556dea72c
2 changed files with 4 additions and 3 deletions

View File

@ -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'])) {

View File

@ -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 */