From 8468978f19163324ba46ebc8775a36f201bb10e0 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 26 May 2025 11:30:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A5=E5=A4=AA=E7=BD=91=E5=90=AF=E7=94=A8?= =?UTF-8?q?=E4=B9=8B=E5=90=8E=EF=BC=8C=E5=A4=9A=E7=AD=89=E4=B8=80=E6=AE=B5?= =?UTF-8?q?=E6=97=B6=E9=97=B4=EF=BC=8C=E9=81=BF=E5=85=8D=E6=9C=AA=E7=94=9F?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/assets/eth.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/assets/eth.sh b/app/src/main/assets/eth.sh index dc28073c..6cb68c27 100644 --- a/app/src/main/assets/eth.sh +++ b/app/src/main/assets/eth.sh @@ -105,7 +105,7 @@ echo "IP configuration before UP: $PRE_UP_IP (1=configured, 0=missing)" # Enable interface and wait for UP echo "Bringing up interface..." /system/bin/ip link set eth0 up -sleep 0.2 +sleep 1 # Check if IP was lost after interface UP (common issue on MTK devices) POST_UP_IP=$(/system/bin/ip addr show eth0 | grep -c "inet $ETH_IP")