projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6df817
)
dracut-lib: if "quiet" is specified, do not print info() to console
author
Harald Hoyer
<harald@redhat.com>
Wed, 15 Jul 2009 16:40:56 +0000
(18:40 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 15 Jul 2009 16:40:56 +0000
(18:40 +0200)
modules.d/99base/dracut-lib.sh
patch
|
blob
|
history
diff --git
a/modules.d/99base/dracut-lib.sh
b/modules.d/99base/dracut-lib.sh
index aa808a74c070e0ac9f41f7c2ce5e26e93333ac6c..a57780a0b871983cb35751cd2ed812e62b1bc852 100644
(file)
--- 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() {