1 Star 0 Fork 98

Mingtai/systemd

forked from src-openEuler/systemd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
disable-systemd-timesyncd-networkd-resolved-homed-us.patch 1.19 KB
一键复制 编辑 原始数据 按行查看 历史
licunlong 提交于 2021-12-28 09:43 . fix typo, disable not denable
From 72e9c079d0fd769d1bdb7d7db9c49454ce4bd255 Mon Sep 17 00:00:00 2001
From: licunlong <licunlong1@huawei.com>
Date: Wed, 1 Dec 2021 17:27:07 +0800
Subject: [PATCH] disable systemd-{timesyncd, networkd, resolved, homed,
userdbd, pstore} by default
---
presets/90-systemd.preset | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/presets/90-systemd.preset b/presets/90-systemd.preset
index d260874..2a7396c 100644
--- a/presets/90-systemd.preset
+++ b/presets/90-systemd.preset
@@ -16,12 +16,6 @@ enable remote-cryptsetup.target
enable machines.target
enable getty@.service
-enable systemd-timesyncd.service
-enable systemd-networkd.service
-enable systemd-resolved.service
-enable systemd-homed.service
-enable systemd-userdbd.socket
-enable systemd-pstore.service
disable console-getty.service
disable debug-shell.service
@@ -44,3 +38,9 @@ disable syslog.socket
disable systemd-journal-gatewayd.*
disable systemd-journal-remote.*
disable systemd-journal-upload.*
+disable systemd-timesyncd.service
+disable systemd-networkd.service
+disable systemd-resolved.service
+disable systemd-homed.service
+disable systemd-userdbd.socket
+disable systemd-pstore.service
--
2.23.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yangmingtaip/systemd.git
git@gitee.com:yangmingtaip/systemd.git
yangmingtaip
systemd
systemd
master

搜索帮助