From b991617f1909457c34827d2c5d1b2b53e3d84343 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Amadeusz=20=C5=BBo=C5=82nowski?= Date: Fri, 25 Mar 2011 15:56:45 +0100 Subject: [PATCH] dracut: when stdloglvl not set defaulted to 0 - should be 4 Removed unnecessary stdloglvl default in dracut.conf. --- dracut | 1 + dracut.conf | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut b/dracut index b0571e18e..48139e8d4 100755 --- a/dracut +++ b/dracut @@ -332,6 +332,7 @@ if (( ${#fw_dir_l[@]} )); then fi [[ $stdloglvl_l ]] && stdloglvl=$stdloglvl_l +[[ ! $stdloglvl ]] && stdloglvl=4 stdloglvl=$((stdloglvl + verbosity_mod_l)) ((stdloglvl > 6)) && stdloglvl=6 ((stdloglvl < 0)) && stdloglvl=0 diff --git a/dracut.conf b/dracut.conf index cca735924..89ceaab9c 100644 --- a/dracut.conf +++ b/dracut.conf @@ -2,7 +2,6 @@ logfile=/var/log/dracut.log fileloglvl=6 -stdloglvl=3 # Specific list of dracut modules to use #dracutmodules+="" -- 2.47.3