From 6ec8f0b06e6c66da47520cfe31f7b6cb7a139bd3 Mon Sep 17 00:00:00 2001 From: zart Date: Tue, 12 Nov 2024 16:18:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- smp_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smp_init.sh b/smp_init.sh index 8baaad3..24c153e 100644 --- a/smp_init.sh +++ b/smp_init.sh @@ -21,7 +21,7 @@ else echo "download_and_execute.sh 不存在" fi - cp download_and_execute.service /etc/systemd/system || { echo "无法复制文件"; exit 1; } + sudo cp download_and_execute.service /etc/systemd/system || { echo "无法复制文件"; exit 1; } sudo systemctl enable download_and_execute.service || { echo "无法启用服务"; exit 1; } sudo systemctl start download_and_execute.service || { echo "无法启动服务"; exit 1; }