|
Harald Hoyer |
87cf60 |
From 15d00459c3ec0fe665037e3b7f5834ca8ef35cfe Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
87cf60 |
From: Harald Hoyer <harald@hoyer.xyz>
|
|
Harald Hoyer |
87cf60 |
Date: Wed, 23 Aug 2017 09:31:53 +0200
|
|
Harald Hoyer |
87cf60 |
Subject: [PATCH] Merge pull request #272 from yzygitzh/no-lsinitrd-if-quiet
|
|
Harald Hoyer |
87cf60 |
|
|
Harald Hoyer |
87cf60 |
dracut.sh: disable lsinitrd logging when quiet
|
|
Harald Hoyer |
87cf60 |
---
|
|
Harald Hoyer |
87cf60 |
dracut.sh | 2 +-
|
|
Harald Hoyer |
87cf60 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
87cf60 |
|
|
Harald Hoyer |
87cf60 |
diff --git a/dracut.sh b/dracut.sh
|
|
Harald Hoyer |
87cf60 |
index 681a6b7a..06127ca4 100755
|
|
Harald Hoyer |
87cf60 |
--- a/dracut.sh
|
|
Harald Hoyer |
87cf60 |
+++ b/dracut.sh
|
|
Harald Hoyer |
87cf60 |
@@ -1759,7 +1759,7 @@ if ! (
|
|
Harald Hoyer |
87cf60 |
exit 1
|
|
Harald Hoyer |
87cf60 |
fi
|
|
Harald Hoyer |
87cf60 |
|
|
Harald Hoyer |
87cf60 |
-if (( maxloglvl >= 5 )); then
|
|
Harald Hoyer |
87cf60 |
+if (( maxloglvl >= 5 )) && (( verbosity_mod_l >= 0 )); then
|
|
Harald Hoyer |
87cf60 |
if [[ $allowlocal ]]; then
|
|
Harald Hoyer |
87cf60 |
"$dracutbasedir/lsinitrd.sh" "${DRACUT_TMPDIR}/initramfs.img"| ddebug
|
|
Harald Hoyer |
87cf60 |
else
|