1 Star 0 Fork 32

chenjiayi/dracut

forked from src-openEuler/dracut 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
make-network-legacy-instead-of-network-manager-the-network.patch 984 Bytes
一键复制 编辑 原始数据 按行查看 历史
chenjiayi 提交于 2023-01-17 18:38 . Update to 059 and fix some bugs in spec
From 2dba7088c57691658d5dfa2b69ff77d266cae517 Mon Sep 17 00:00:00 2001
From: panxiaohe <panxiaohe@huawei.com>
Date: Tue, 17 Jan 2023 17:41:57 +0800
Subject: [PATCH] make network-legacy instead of network-manager the network
provider
---
modules.d/40network/module-setup.sh | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
index 49b45f3..f498f3f 100755
--- a/modules.d/40network/module-setup.sh
+++ b/modules.d/40network/module-setup.sh
@@ -21,8 +21,6 @@ depends() {
network_handler="network-wicked"
elif [[ -e $dracutsysrootdir$systemdsystemunitdir/connman.service ]]; then
network_handler="connman"
- elif [[ -x $dracutsysrootdir/usr/libexec/nm-initrd-generator ]] || [[ -x $dracutsysrootdir/usr/lib/nm-initrd-generator ]]; then
- network_handler="network-manager"
else
network_handler="network-legacy"
fi
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jiayi0118/dracut.git
git@gitee.com:jiayi0118/dracut.git
jiayi0118
dracut
dracut
master

搜索帮助