summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-22 00:50:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-22 00:50:35 +0000
commitc162778697332154d837ec2119c346ec2f9360fa (patch)
tree9fb0e54f0e4182280d43d3226037cc6b6c834a47 /etc/inc
parent49e5bb8efa0a2db008de718f02e52ef73e351bef (diff)
downloadpfsense-c162778697332154d837ec2119c346ec2f9360fa.zip
pfsense-c162778697332154d837ec2119c346ec2f9360fa.tar.gz
More console muting. We actually look professional now.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc5
1 files changed, 5 insertions, 0 deletions
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;
}
OpenPOWER on IntegriCloud