core: 显示网卡稳定时间

This commit is contained in:
bin456789
2026-09-06 11:31:38 +08:00
parent d44c2017fd
commit 42f932b856
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -49,6 +49,8 @@ while true; do
old_state=$new_state
echo "Waiting for the NICs to be stable (${stable_count}s/10s)..."
# 稳定 10 秒后退出循环
if $has_eth && [ "$stable_count" -ge 10 ]; then
break