From: Amadeusz Żołnowski Date: Fri, 25 Mar 2011 14:56:45 +0000 (+0100) Subject: dracut: when stdloglvl not set defaulted to 0 - should be 4 X-Git-Tag: 009~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b991617f1909457c34827d2c5d1b2b53e3d84343;p=thirdparty%2Fdracut.git dracut: when stdloglvl not set defaulted to 0 - should be 4 Removed unnecessary stdloglvl default in dracut.conf. --- 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+=""