From cf1326c947cfbb07f0151748eda06041b31bed50 Mon Sep 17 00:00:00 2001 From: INSUN PYO Date: Tue, 21 Apr 2020 16:11:15 +0900 Subject: [PATCH] Delayed target: check interval is changed from 1 second to 0.2 seconds. Change-Id: I2206ada9509d503ac02733d0cb0c1539d932b184 Signed-off-by: INSUN PYO --- packaging/wait-default-target.sh | 6 +++--- packaging/wait-delayed-target.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packaging/wait-default-target.sh b/packaging/wait-default-target.sh index c8e3e97..1c1e0f2 100644 --- a/packaging/wait-default-target.sh +++ b/packaging/wait-default-target.sh @@ -1,9 +1,9 @@ #!/bin/bash PATH=/bin:/usr/bin:/sbin:/usr/sbin -for loop in {1..30} +for loop in {1..150} do - echo $1: ${loop}/30 + echo $1: ${loop}/150 if [ -f /run/systemd/system/graphical.target.done -a -f /run/user/5001/systemd/default.target.done ] then @@ -13,7 +13,7 @@ do exit 0 fi - /usr/bin/sleep 1 + /usr/bin/sleep 0.2 done # timeout diff --git a/packaging/wait-delayed-target.sh b/packaging/wait-delayed-target.sh index 6a010cd..7c2e08d 100644 --- a/packaging/wait-delayed-target.sh +++ b/packaging/wait-delayed-target.sh @@ -1,9 +1,9 @@ #!/bin/bash PATH=/bin:/usr/bin:/sbin:/usr/sbin -for loop in {1..30} +for loop in {1..150} do - echo ${loop}/30 + echo ${loop}/150 if [ -f /run/systemd/system/delayed.target.done -a -f /run/user/5001/systemd/delayed.target.done -a -f /run/systemd/system/graphical.target.done -a -f /run/user/5001/systemd/default.target.done ] then @@ -14,7 +14,7 @@ do exit 0 fi - /usr/bin/sleep 1 + /usr/bin/sleep 0.2 done # timeout -- 2.7.4