]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut: when stdloglvl not set defaulted to 0 - should be 4
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Fri, 25 Mar 2011 14:56:45 +0000 (15:56 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 25 Mar 2011 15:10:48 +0000 (16:10 +0100)
Removed unnecessary stdloglvl default in dracut.conf.

dracut
dracut.conf

diff --git a/dracut b/dracut
index b0571e18e0e1cd33841f6a7ed9b7bf530dfa5943..48139e8d4db94d92ec287f4558735dbd0c0ee826 100755 (executable)
--- 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
index cca735924b90dcef76b2fd13ea64b34c129c7e1e..89ceaab9c994cb979ce7aa7ebe15cdf3b9806cae 100644 (file)
@@ -2,7 +2,6 @@
 
 logfile=/var/log/dracut.log
 fileloglvl=6
-stdloglvl=3
 
 # Specific list of dracut modules to use
 #dracutmodules+=""