From cc7ff16c9229d34ad3a0d5290f6fc37035838f49 Mon Sep 17 00:00:00 2001 From: WWWw <109729945+initialencounter@users.noreply.github.com> Date: Mon, 13 May 2024 12:33:07 +0800 Subject: [PATCH] fix: Device or resource busy --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index 607b5e8..d20e608 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -18,6 +18,7 @@ if [ ! -f "$CONFIG_PATH" ]; then # 安装 napcat rarch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/) unzip NapCat.linux.${rarch}.zip -d . + mv NapCat.linux.${rarch}/config/* napcat/config/ && rmdir NapCat.linux.${rarch}/config mv NapCat.linux.${rarch}/* napcat/ chmod +x napcat/napcat.sh