summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google
diff options
context:
space:
mode:
authorYuxiao Zhang <yuxiaozhang@google.com>2024-01-20 07:01:03 +0300
committerYuxiao Zhang <yuxiaozhang@google.com>2024-01-23 01:41:15 +0300
commitf842620f1367f7805ced98c974d45a21cc6269ae (patch)
tree4e14356889fbabf5affd126f78ade026ac08f630 /meta-google/recipes-google
parent56a3272526bc405d884f1c2b8236a2adb4c57751 (diff)
downloadopenbmc-f842620f1367f7805ced98c974d45a21cc6269ae.tar.xz
meta-google: gbmc-bridge: keep dhcp running longer
This is to make sure that dhcp runs for a while after nic is fully functional. Change-Id: I32c0e516bdb6a5aa33728266e8a58b9555d3e0ce Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
Diffstat (limited to 'meta-google/recipes-google')
-rw-r--r--meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp-term.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp-term.sh b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp-term.sh
index 1ba0ac3c42..0a821ea668 100644
--- a/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp-term.sh
+++ b/meta-google/recipes-google/networking/gbmc-bridge/gbmc-br-dhcp-term.sh
@@ -48,7 +48,7 @@ done
# We need to guarantee we wait at least 5 minutes from reachable in
# case networking just came up
-wait_min=5
+wait_min=10
echo "Network is reachable, waiting $wait_min min" >&2
sleep $((60 * wait_min))
@@ -87,7 +87,7 @@ while true; do
# The process is already stopped, we are done
[[ "$activestr" == 'inactive' ]] && exit
- # If the process is running, give it at least 5 minutes from when it started
+ # If the process is running, give it at least 10 minutes from when it started
cur_s="$(cut -d' ' -f1 /proc/uptime)"
# Remove floating point if applied since bash can't perform float arithmetic
cur_s="${cur_s%.*}"