From 61e49045bf6059a865a0a4581493613c9cb6cd83 Mon Sep 17 00:00:00 2001 From: Rundong Li Date: Sun, 13 Oct 2024 23:06:23 +0800 Subject: [PATCH] [openwrt] fix conf dir creation --- openwrt-builder/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/openwrt-builder/build.sh b/openwrt-builder/build.sh index c520bed..c732aed 100755 --- a/openwrt-builder/build.sh +++ b/openwrt-builder/build.sh @@ -56,6 +56,7 @@ curl -sSL https://github.com/SagerNet/sing-box/releases/download/v${SING_BOX_VER tar -xf sing-box.tar.gz chmod +x sing-box-${SING_BOX_VERSION}-linux-${SING_BOX_ARCH}/sing-box mv sing-box-${SING_BOX_VERSION}-linux-${SING_BOX_ARCH}/sing-box $CUSTOM_FILES_DIR/usr/bin/ +mkdir -p $CUSTOM_FILES_DIR/root/.config/sing-box cp ${SING_BOX_CONFIG} $CUSTOM_FILES_DIR/root/.config/sing-box/config.json # Sing-Box web dashbord.