Blame 0063-systemd-dracut-initqueue.sh-fixed-waiting-in-the-loo.patch
|
Harald Hoyer |
30adad |
From 3934ca8e6c0e80ecb32a2ed9403321afd510842e Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
30adad |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
30adad |
Date: Thu, 5 Dec 2013 18:38:35 +0100
|
|
Harald Hoyer |
30adad |
Subject: [PATCH] systemd/dracut-initqueue.sh: fixed waiting in the loop if PW
|
|
Harald Hoyer |
30adad |
asked
|
|
Harald Hoyer |
30adad |
|
|
Harald Hoyer |
30adad |
continue the main loop instead of the for loop, if a password is
|
|
Harald Hoyer |
30adad |
currently asked
|
|
Harald Hoyer |
30adad |
---
|
|
Harald Hoyer |
30adad |
modules.d/98systemd/dracut-initqueue.sh | 2 +-
|
|
Harald Hoyer |
30adad |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
30adad |
|
|
Harald Hoyer |
30adad |
diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh
|
|
Harald Hoyer |
30adad |
index 64e8154..1e05dcd 100755
|
|
Harald Hoyer |
30adad |
--- a/modules.d/98systemd/dracut-initqueue.sh
|
|
Harald Hoyer |
30adad |
+++ b/modules.d/98systemd/dracut-initqueue.sh
|
|
Harald Hoyer |
30adad |
@@ -53,7 +53,7 @@ while :; do
|
|
Harald Hoyer |
30adad |
sleep 0.5
|
|
Harald Hoyer |
30adad |
|
|
Harald Hoyer |
30adad |
for i in /run/systemd/ask-password/ask.*; do
|
|
Harald Hoyer |
30adad |
- [ -e "$i" ] && continue
|
|
Harald Hoyer |
30adad |
+ [ -e "$i" ] && continue 2
|
|
Harald Hoyer |
30adad |
done
|
|
Harald Hoyer |
30adad |
|
|
Harald Hoyer |
30adad |
if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then
|