更新 ZeroWrt/01-prepare_package.sh

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-02-14 00:17:37 +08:00
parent 115ad15b32
commit 6d09ada3c4

View File

@ -47,9 +47,6 @@ sed -i 's/threads = 1/threads = 2/g' feeds/packages/net/uwsgi/files-luci-support
sed -i 's/processes = 3/processes = 4/g' feeds/packages/net/uwsgi/files-luci-support/luci-webui.ini sed -i 's/processes = 3/processes = 4/g' feeds/packages/net/uwsgi/files-luci-support/luci-webui.ini
sed -i 's/cheaper = 1/cheaper = 2/g' feeds/packages/net/uwsgi/files-luci-support/luci-webui.ini sed -i 's/cheaper = 1/cheaper = 2/g' feeds/packages/net/uwsgi/files-luci-support/luci-webui.ini
# banner
cp -f $GITHUB_WORKSPACE/diy/banner package/base-files/files/etc/banner
# luci # luci
pushd feeds/luci pushd feeds/luci
curl -s https://git.kejizero.online/zhao/files/raw/branch/main/patch/luci/0001-luci-mod-status-firewall-disable-legacy-firewall-rul.patch | patch -p1 curl -s https://git.kejizero.online/zhao/files/raw/branch/main/patch/luci/0001-luci-mod-status-firewall-disable-legacy-firewall-rul.patch | patch -p1
@ -150,7 +147,7 @@ git clone https://github.com/jerrykuku/luci-app-argon-config package/luci-app-ar
# git clone https://github.com/sirpdboy/luci-theme-kucat package/luci-theme-kucat -b js # git clone https://github.com/sirpdboy/luci-theme-kucat package/luci-theme-kucat -b js
# curl -L -o package/luci-theme-argon/luci-theme-argon/htdocs/luci-static/argon/img/bg.webp https://git.kejizero.online/zhao/files/raw/branch/main/%20background/bg.webp # curl -L -o package/luci-theme-argon/luci-theme-argon/htdocs/luci-static/argon/img/bg.webp https://git.kejizero.online/zhao/files/raw/branch/main/%20background/bg.webp
# git clone --depth 1 https://github.com/sbwml/luci-theme-argon package/luci-theme-argon # git clone --depth 1 https://github.com/sbwml/luci-theme-argon package/luci-theme-argon
cp -f $GITHUB_WORKSPACE/images/bg1.jpg package/luci-theme-argon/htdocs/luci-static/argon/img/bg1.jpg # cp -f $GITHUB_WORKSPACE/images/bg1.jpg package/luci-theme-argon/htdocs/luci-static/argon/img/bg1.jpg
sed -i 's/bing/none/' package/luci-app-argon-config/root/etc/config/argon sed -i 's/bing/none/' package/luci-app-argon-config/root/etc/config/argon
# default-settings # default-settings