add rdinfo command line parameter

print informational output though "quiet" is set
master
Harald Hoyer 2009-08-14 16:05:18 +02:00
parent 860ace56f8
commit 3d4641fd98
2 changed files with 4 additions and 0 deletions

View File

@ -249,6 +249,9 @@ do not load kernel module <drivername>

.SH Debug
.TP
.B rdinfo
print informational output though "quiet" is set
.TP
.B rdshell
allow dropping to a shell, if root mounting fails
.TP

View File

@ -65,6 +65,7 @@ info() {
if [ -z "$DRACUT_QUIET" ]; then
DRACUT_QUIET="no"
getarg quiet && DRACUT_QUIET="yes"
getarg rdinfo && DRACUT_QUIET="no"
fi
echo "<6>dracut: $@" > /dev/kmsg
[ "$DRACUT_QUIET" != "yes" ] && \