[Bugfix][R306][bug-view-192][ETH] fix process choke when boot without eth phy

Change-Id: Ieb96033f5494459d0d442bf69b20912bb833ab13
diff --git a/lynq/CPE_COMMON/ap/app/Script/scripts/lan.sh b/lynq/CPE_COMMON/ap/app/Script/scripts/lan.sh
index 407c47b..b4915a7 100755
--- a/lynq/CPE_COMMON/ap/app/Script/scripts/lan.sh
+++ b/lynq/CPE_COMMON/ap/app/Script/scripts/lan.sh
@@ -48,6 +48,14 @@
     IFS="+"
     for device in $br_node
     do
+        # youchen@2024-09-07 temp fix choke when boot without eth phy, begin
+        if [ "$device" == "eth0" ]; then
+	    eth_state=`cat /sys/gmac/gmacconfig/eth_phy_state`
+	    if [ "$eth_state" != "1" ]; then
+                continue
+	    fi
+	fi
+        # youchen@2024-09-07 temp fix choke when boot without eth phy, end
         ifconfig $device up
         
         brctl addif $br_name $device 2>>$test_log