diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-28 00:03:22 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-28 00:03:22 +0000 |
commit | e556dea72cedc320853ede7f5ad8edd66f80a531 (patch) | |
tree | 26016fdbb33771e739e9cb8522731ed6cf4c4189 | |
parent | 0ce1c22dad0ea8469ce38563ddccb2268a199e87 (diff) | |
download | pfsense-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.
-rw-r--r-- | etc/inc/interfaces.inc | 1 | ||||
-rwxr-xr-x | etc/rc.bootup | 6 |
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 */ |