From c7a0be97bc166a1a4572024fc83a4fe7daaf51b2 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 24 May 2005 14:40:28 +0000 Subject: Only echo out if we're booting --- etc/inc/config.inc | 2 -- etc/inc/interfaces.inc | 3 ++- etc/inc/services.inc | 4 ---- 3 files changed, 2 insertions(+), 7 deletions(-) (limited to 'etc/inc') diff --git a/etc/inc/config.inc b/etc/inc/config.inc index c65ba00..e7d2126 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1014,8 +1014,6 @@ function cleanup_backupcache($revisions = "all") { if($g['booting']) { if($i) { print ".\n"; - } else { - print " done.\n"; } } } diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 16a3b9f..0c83fdb 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -250,9 +250,10 @@ function interfaces_optional_configure_if($opti) { " delete down"); } - if ($g['booting']) + if ($g['booting']) { unmute_kernel_msgs(); print "done.\n"; + } return 0; } diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 1530fd1..14466d9 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -174,8 +174,6 @@ EOD; if (!$g['booting']) { filter_configure(); - } else { - echo "done.\n"; } return 0; @@ -270,8 +268,6 @@ function services_dhcrelay_configure() { if (!$g['booting']) { filter_configure(); - } else { - echo "done.\n"; } return 0; -- cgit v1.1