]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-systemd/dracut-initqueue.sh: be verbose about timeout
authorHarald Hoyer <harald@redhat.com>
Wed, 12 Aug 2015 12:27:39 +0000 (14:27 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 13 Aug 2015 13:23:17 +0000 (15:23 +0200)
Issue a warning, if timeout scripts are executed

(cherry picked from commit 8ba684be1c04976204d2b671ab90cb27791f467b)

modules.d/98systemd/dracut-initqueue.sh

index 37bc18f14c479d4d6ce217aedea856387a4fd770..5822556bb83cd2eb1d8eacae3f71274304f6143f 100755 (executable)
@@ -57,6 +57,7 @@ while :; do
     done
 
     if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then
+        warn "dracut-initqueue timeout - starting timeout scripts"
         for job in $hookdir/initqueue/timeout/*.sh; do
             [ -e "$job" ] || break
             job=$job . $job