From c162778697332154d837ec2119c346ec2f9360fa Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 22 May 2005 00:50:35 +0000 Subject: More console muting. We actually look professional now. --- etc/inc/interfaces.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/inc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 7d9a5fe..eebb3bb 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -197,6 +197,7 @@ function interfaces_optional_configure_if($opti) { if ($optcfg['descr']) $optdescr = " ({$optcfg['descr']})"; print "\tOPT{$opti}{$optdescr}... "; + mute_kernel_msgs(); } if (isset($optcfg['enable'])) { @@ -250,6 +251,7 @@ function interfaces_optional_configure_if($opti) { } if ($g['booting']) + unmute_kernel_msgs(); print "done.\n"; return 0; @@ -377,6 +379,7 @@ function interfaces_wan_configure() { $wancfg = $config['interfaces']['wan']; if(!$g['booting']) { + mute_kernel_msgs(); /* kill dhclient */ killbypid("{$g['varrun_path']}/dhclient.pid"); @@ -471,6 +474,8 @@ function interfaces_wan_configure() { services_dnsmasq_configure(); } + unmute_kernel_msgs(); + return 0; } -- cgit v1.1