From 0adbc41628f3d2700d960c5c7afff5f5eafa513c Mon Sep 17 00:00:00 2001 From: hehaoyang Date: Wed, 31 Jul 2024 00:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BD=91=E7=BB=9C=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system-environment-tvis/files/network/initialization.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/yocto/meta-tvis-app/recipes/system-environment-tvis/files/network/initialization.sh b/yocto/meta-tvis-app/recipes/system-environment-tvis/files/network/initialization.sh index 401b542d2c..994911255e 100644 --- a/yocto/meta-tvis-app/recipes/system-environment-tvis/files/network/initialization.sh +++ b/yocto/meta-tvis-app/recipes/system-environment-tvis/files/network/initialization.sh @@ -13,11 +13,6 @@ if [ ${TYPE%?} != "NVR" ]; then exit 1 fi -# 如果不存在配置需要重新添加配置 -if test ! -z "$(nmcli connection | grep enP1p17s0)"; then - nmcli connection add type ethernet con-name enP1p17s0 ifname enP1p17s0 -fi - # 手动创建eth0内网配置 /etc/NetworkManager/dispatcher.d/10-network-config.sh eth0 up