From 4a6a532f271fb9ba41bbd4f91160d1dc60ff6ddc Mon Sep 17 00:00:00 2001 From: OPPEN321 Date: Tue, 11 Nov 2025 15:54:32 +0800 Subject: [PATCH] Update build.sh --- build.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index c1e0c71..c13c6bd 100644 --- a/build.sh +++ b/build.sh @@ -512,9 +512,18 @@ prepare_source_code() { } >> .config echo -e " ${BOLD}${MAGENTA_COLOR}├─ ${GREEN_COLOR}✓${RESET} ${BOLD}GCC ${gcc} 配置完成${RESET}" + + # 配置 OTA 在线更新 + echo -e " ${BOLD}${MAGENTA_COLOR}├─ 🌐 配置 OTA 在线更新...${RESET}" + { + echo -e "\n# OTA Online Update" + echo -e "CONFIG_PACKAGE_luci-app-ota=y\n" + } >> .config + + echo -e " ${BOLD}${MAGENTA_COLOR}├─ ${GREEN_COLOR}✓${RESET} ${BOLD}OTA 在线更新配置完成${RESET}" # 生成 defconfig - echo -e " ${BOLD}${MAGENTA_COLOR}├─ ⚙️ 生成 defconfig...${RESET}" + echo -e " ${BOLD}${MAGENTA_COLOR}├─ 🔄 生成 defconfig...${RESET}" if make defconfig > /dev/null 2>&1; then echo -e " ${BOLD}${MAGENTA_COLOR}├─ ${GREEN_COLOR}✓${RESET} ${BOLD}defconfig 生成成功${RESET}" else