base/init.sh: set DRACUT_QUIET only in dracut-lib.sh

master
Harald Hoyer 2012-05-09 11:42:39 +02:00
parent 3734f4ae48
commit cad10a7f80
2 changed files with 3 additions and 6 deletions

View File

@ -316,6 +316,9 @@ check_quiet() {
getargbool 0 rd.info -y rdinfo && DRACUT_QUIET="no"
getargbool 0 rd.debug -y rdinitdebug && DRACUT_QUIET="no"
getarg quiet || DRACUT_QUIET="yes"
a=$(getarg loglevel=)
[ -n "$a" ] && [ $a -ge 28 ] && DRACUT_QUIET="yes"
export DRACUT_QUIET
fi
}


View File

@ -39,12 +39,6 @@ fi

setdebug

if [ "$RD_DEBUG" = "yes" ]; then
getarg quiet && DRACUT_QUIET="yes"
a=$(getarg loglevel=)
[ -n "$a" ] && [ $a -ge 8 ] && unset DRACUT_QUIET
fi

if ! ismounted /dev; then
mount -t devtmpfs -o mode=0755,nosuid,strictatime devtmpfs /dev >/dev/null
fi