]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut-initqueue: Print more useful info in case of timeout
authorKairui Song <kasong@redhat.com>
Fri, 2 Aug 2019 09:11:19 +0000 (17:11 +0800)
committerDaniel Molkentin <daniel@molkentin.de>
Tue, 4 Aug 2020 12:00:06 +0000 (14:00 +0200)
commitdc9596155def879c99caa03acc5bd6d7090488ed
treea2c8e004521e6195fb01c0b7634736956d9ac470
parentacc782bad5c77a8e105c9c5a8fc8873bc2ff06ec
dracut-initqueue: Print more useful info in case of timeout

Currently when initqueue timeout, it span the console with
"dracut-initqueue timeout - starting timeout scripts", which isn't very
helpful as we still don't know what actually happened. Try to improve
this by print what is actually being waited.

Besides, only print "starting timeout scripts" when there are
actual timeout scripts to use.

Signed-off-by: Kairui Song <kasong@redhat.com>
modules.d/98dracut-systemd/dracut-initqueue.sh