---
 modules.d/99base/dracut-lib.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
index aa808a7..a57780a 100644
--- a/modules.d/99base/dracut-lib.sh
+++ b/modules.d/99base/dracut-lib.sh
@@ -48,8 +48,10 @@ warn() {
 }
 
 info() {
+    [ "$DRACUT_QUIET" ] || DRACUT_QUIET="x$(getarg quiet)"
     echo "<6>dracut: $@" > /dev/kmsg
-    echo "dracut: $@" > /dev/console
+    [ "$DRACUT_QUIET" != "xquiet" ] && \
+       echo "dracut: $@" > /dev/console
 }
 
 vinfo() {
-- 
1.6.2.5

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to