├── .github └── workflows │ ├── openwrt4.19.yml │ ├── openwrt5.10.yml │ ├── openwrt5.15.yml │ ├── openwrt5.4.yml │ └── openwrt6.6.yml ├── 4.19.config ├── 5.15.config ├── 5.4.config ├── 6.0.config ├── LICENSE ├── Project.sh ├── README.md ├── _config.yml ├── boc ├── a.png ├── b.png ├── c.png ├── d.png ├── e.png └── m.jpg ├── diy-part2.sh ├── diy.sh ├── diy4.19.sh ├── diy5.15.sh ├── diy5.4.sh ├── diy6.0.sh ├── files └── etc │ └── config │ ├── flowoffload │ └── upnpd └── project2.sh /.github/workflows/openwrt4.19.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: OpenWrt-lede4.19 10 | 11 | on: 12 | repository_dispatch: 13 | workflow_dispatch: 14 | inputs: 15 | ssh: 16 | description: 'SSH connection to Actions' 17 | required: false 18 | default: 'false' 19 | # schedule: 20 | # - cron: 0 18 */3 * * 21 | 22 | env: 23 | REPO_URL: https://github.com/openwrt/openwrt 24 | REPO_BRANCH: openwrt-18.06 25 | FEEDS_CONF: feeds.conf.default 26 | CONFIG_FILE: 4.19.config 27 | DIY_P1_SH: diy4.19.sh 28 | DIY_P2_SH: diy-part2.sh 29 | UPLOAD_BIN_DIR: true 30 | UPLOAD_FIRMWARE: true 31 | UPLOAD_COWTRANSFER: false 32 | UPLOAD_WETRANSFER: true 33 | UPLOAD_RELEASE: true 34 | TZ: Asia/Shanghai 35 | 36 | jobs: 37 | build: 38 | runs-on: ubuntu-20.04 39 | 40 | steps: 41 | - name: 检查项目分支 42 | uses: actions/checkout@main 43 | 44 | - name: 安装编译环境 45 | env: 46 | DEBIAN_FRONTEND: noninteractive 47 | run: | 48 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 49 | sudo -E apt-get -qq update 50 | sudo -E apt-get -qq install $(curl -fsSL https://github.com/firkerword/openwrt-list/raw/master/depends-ubuntu-2004) 51 | sudo -E apt-get -qq autoremove --purge 52 | sudo -E apt-get -qq clean 53 | sudo timedatectl set-timezone "$TZ" 54 | sudo mkdir -p /workdir 55 | sudo chown $USER:$GROUPS /workdir 56 | - name: 下载固件源码 57 | working-directory: /workdir 58 | run: | 59 | df -hT $PWD 60 | git clone $REPO_URL -b $REPO_BRANCH openwrt 61 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 62 | - name: 加载自定义设置 63 | run: | 64 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 65 | chmod +x $DIY_P1_SH 66 | cd openwrt 67 | $GITHUB_WORKSPACE/$DIY_P1_SH 68 | - name: 下载插件 69 | run: cd openwrt && ./scripts/feeds update -a 70 | 71 | - name: 读取插件 72 | run: cd openwrt && ./scripts/feeds install -a 73 | 74 | - name: 更改设置 75 | run: | 76 | [ -e files ] && mv files openwrt/files 77 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 78 | chmod +x $DIY_P2_SH 79 | cd openwrt 80 | $GITHUB_WORKSPACE/$DIY_P2_SH 81 | - name: SSH链接管理 82 | uses: P3TERX/ssh2actions@v1.0.0 83 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 84 | env: 85 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 86 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 87 | 88 | - name: 下载安装包 89 | id: package 90 | run: | 91 | cd openwrt 92 | make defconfig 93 | make download -j8 94 | find dl -size -1024c -exec ls -l {} \; 95 | find dl -size -1024c -exec rm -f {} \; 96 | - name: 开始编译固件 97 | id: compile 98 | run: | 99 | cd openwrt 100 | echo -e "$(nproc) thread compile" 101 | make -j$(nproc) || make -j1 || make -j1 V=s 102 | echo "::set-output name=status::success" 103 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 104 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 105 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 106 | echo "FILE_TIME=$(date "+%Y年%m月%d日-%H点")" >> $GITHUB_ENV 107 | - name: 查看磁盘使用情况 108 | if: (!cancelled()) 109 | run: df -hT 110 | 111 | - name: 上传bin压缩目录 112 | uses: actions/upload-artifact@main 113 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 114 | with: 115 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 116 | path: openwrt/bin/packages/x86_64 117 | 118 | - name: 整理编译好的固件 119 | id: organize 120 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 121 | run: | 122 | cd openwrt/bin/targets/*/* 123 | rm -rf packages && mkdir packages 124 | find -name "*esxi-flat.vmdk*" | xargs -i mv -f {} packages 125 | find -name "*kernel.bin*" | xargs -i mv -f {} packages 126 | find -name "*rootfs*" | xargs -i mv -f {} packages 127 | find -name "*.manifest*" | xargs -i mv -f {} packages 128 | find -name "*vmlinuz*" | xargs -i mv -f {} packages 129 | find -name "*esxi.vmdk*" | xargs -i mv -f {} packages 130 | rm -rf packages 131 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 132 | echo "::set-output name=status::success" 133 | - name: 上传固件到github 134 | uses: actions/upload-artifact@main 135 | if: steps.organize.outputs.status == 'success' && !cancelled() 136 | with: 137 | name: OpenWrt_4.19${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 138 | path: ${{ env.FIRMWARE }} 139 | 140 | - name: 上传固件到NN网盘 141 | id: cowtransfer 142 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 143 | run: | 144 | curl -fsSL git.io/file-transfer | sh 145 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 146 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 147 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 148 | - name: 上传固件到WT网盘 149 | id: wetransfer 150 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 151 | run: | 152 | curl -fsSL git.io/file-transfer | sh 153 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 154 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 155 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 156 | 157 | - name: 创建release标签 158 | id: tag 159 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 160 | run: | 161 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 162 | touch release.txt 163 | echo "[固件源码](https://github.com/coolsnowwolf/openwrt)" >> release.txt 164 | echo "由衷感谢所有为openwrt无私奉献的大佬们" >> release.txt 165 | echo "📥 固件下载" >> release.txt 166 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [国内NN网盘](${{ steps.cowtransfer.outputs.url }})" >> release.txt 167 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [国外WT网盘](${{ steps.wetransfer.outputs.url }})" >> release.txt 168 | echo "::set-output name=status::success" 169 | - name: 发布至release 170 | uses: softprops/action-gh-release@v1 171 | if: steps.tag.outputs.status == 'success' && !cancelled() 172 | env: 173 | GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} 174 | with: 175 | name: ${{ env.FILE_TIME }} 「 openwrt4.19-X86-64 」 176 | tag_name: ${{ steps.tag.outputs.release_tag }} 177 | body_path: release.txt 178 | files: ${{ env.FIRMWARE }}/* 179 | 180 | - name: 删除旧的Releases 181 | uses: dev-drprasad/delete-older-releases@v0.1.0 182 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 183 | with: 184 | keep_latest: 9 185 | delete_tags: true 186 | env: 187 | GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} 188 | 189 | -------------------------------------------------------------------------------- /.github/workflows/openwrt5.10.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: OpenWrt-lede5.10 10 | 11 | on: 12 | repository_dispatch: 13 | workflow_dispatch: 14 | inputs: 15 | ssh: 16 | description: 'SSH connection to Actions' 17 | required: false 18 | default: 'false' 19 | # schedule: 20 | # - cron: 0 18 */5 * * 21 | 22 | env: 23 | REPO_URL: https://github.com/coolsnowwolf/lede 24 | REPO_BRANCH: master 25 | FEEDS_CONF: feeds.conf.default 26 | CONFIG_FILE: 5.10.config 27 | DIY_P1_SH: diy5.10.sh 28 | DIY_P2_SH: diy.sh 29 | UPLOAD_BIN_DIR: true 30 | UPLOAD_FIRMWARE: true 31 | UPLOAD_COWTRANSFER: false 32 | UPLOAD_WETRANSFER: true 33 | UPLOAD_RELEASE: true 34 | TZ: Asia/Shanghai 35 | 36 | jobs: 37 | build: 38 | runs-on: ubuntu-20.04 39 | 40 | steps: 41 | - name: 检查项目分支 42 | uses: actions/checkout@main 43 | 44 | - name: 安装编译环境 45 | env: 46 | DEBIAN_FRONTEND: noninteractive 47 | run: | 48 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 49 | sudo -E apt-get -qq update 50 | sudo -E apt-get -qq install $(curl -fsSL https://github.com/firkerword/openwrt-list/raw/master/depends-ubuntu-2004) 51 | sudo -E apt-get -qq autoremove --purge 52 | sudo -E apt-get -qq clean 53 | sudo timedatectl set-timezone "$TZ" 54 | sudo mkdir -p /workdir 55 | sudo chown $USER:$GROUPS /workdir 56 | - name: 下载固件源码 57 | working-directory: /workdir 58 | run: | 59 | df -hT $PWD 60 | git clone $REPO_URL -b $REPO_BRANCH openwrt 61 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 62 | - name: 加载自定义设置 63 | run: | 64 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 65 | chmod +x $DIY_P1_SH 66 | cd openwrt 67 | $GITHUB_WORKSPACE/$DIY_P1_SH 68 | - name: 下载插件 69 | run: cd openwrt && ./scripts/feeds update -a 70 | 71 | - name: 读取插件 72 | run: cd openwrt && ./scripts/feeds install -a 73 | 74 | - name: 更改设置 75 | run: | 76 | [ -e files ] && mv files openwrt/files 77 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 78 | chmod +x $DIY_P2_SH 79 | cd openwrt 80 | $GITHUB_WORKSPACE/$DIY_P2_SH 81 | - name: SSH链接管理 82 | uses: P3TERX/ssh2actions@v1.0.0 83 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 84 | env: 85 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 86 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 87 | 88 | - name: 下载安装包 89 | id: package 90 | run: | 91 | cd openwrt 92 | make defconfig 93 | make download -j8 94 | find dl -size -1024c -exec ls -l {} \; 95 | find dl -size -1024c -exec rm -f {} \; 96 | - name: 开始编译固件 97 | id: compile 98 | run: | 99 | cd openwrt 100 | echo -e "$(nproc) thread compile" 101 | make -j$(nproc) || make -j1 || make -j1 V=s 102 | echo "status=success" >> $GITHUB_OUTPUT 103 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 104 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 105 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 106 | echo "FILE_TIME=$(date "+%Y年%m月%d日-%H点")" >> $GITHUB_ENV 107 | - name: 查看磁盘使用情况 108 | if: (!cancelled()) 109 | run: df -hT 110 | 111 | - name: 上传bin压缩目录 112 | uses: actions/upload-artifact@main 113 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 114 | with: 115 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 116 | path: openwrt/bin/packages/x86_64 117 | 118 | - name: 整理编译好的固件 119 | id: organize 120 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 121 | run: | 122 | cd openwrt/bin/targets/*/* 123 | rm -rf packages && mkdir packages 124 | find -name "*esxi-flat.vmdk*" | xargs -i mv -f {} packages 125 | find -name "*kernel.bin*" | xargs -i mv -f {} packages 126 | find -name "*rootfs*" | xargs -i mv -f {} packages 127 | find -name "*.manifest*" | xargs -i mv -f {} packages 128 | find -name "*vmlinuz*" | xargs -i mv -f {} packages 129 | find -name "*esxi.vmdk*" | xargs -i mv -f {} packages 130 | rm -rf packages 131 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 132 | echo "status=success" >> $GITHUB_OUTPUT 133 | - name: 上传固件到github 134 | uses: actions/upload-artifact@main 135 | if: steps.organize.outputs.status == 'success' && !cancelled() 136 | with: 137 | name: OpenWrt_5.10${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 138 | path: ${{ env.FIRMWARE }} 139 | 140 | - name: 上传固件到NN网盘 141 | id: cowtransfer 142 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 143 | run: | 144 | curl -fsSL git.io/file-transfer | sh 145 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 146 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 147 | echo "url=$(cat cowtransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 148 | - name: 上传固件到WT网盘 149 | id: wetransfer 150 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 151 | run: | 152 | curl -fsSL git.io/file-transfer | sh 153 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 154 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 155 | echo "url=$(cat wetransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 156 | - name: 创建release标签 157 | id: tag 158 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 159 | run: | 160 | echo "release_tag=$(date +"%Y.%m.%d-%H%M")" >> $GITHUB_OUTPUT 161 | touch release.txt 162 | echo "功能介绍:Dockerman、定时重拨、Openclash、Bypass、Passwall、VSSR、Openvpn、nps穿透、UU加速等插件。" >> release.txt 163 | echo "[固件源码](https://github.com/coolsnowwolf/lede)" >> release.txt 164 | echo "由衷感谢所有为openwrt无私奉献的大佬们" >> release.txt 165 | echo "📥 固件下载" >> release.txt 166 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [国内NN网盘](${{ steps.cowtransfer.outputs.url }})" >> release.txt 167 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [国外WT网盘](${{ steps.wetransfer.outputs.url }})" >> release.txt 168 | echo "status=success" >> $GITHUB_OUTPUT 169 | - name: 发布至release 170 | uses: softprops/action-gh-release@v1 171 | if: steps.tag.outputs.status == 'success' && !cancelled() 172 | env: 173 | GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} 174 | with: 175 | name: ${{ env.FILE_TIME }} 「 openwrt5.10-X86-64 」 176 | tag_name: ${{ steps.tag.outputs.release_tag }} 177 | body_path: release.txt 178 | files: ${{ env.FIRMWARE }}/* 179 | 180 | - name: 清理旧的workflow 181 | uses: FunctionXJB/delete-workflow-runs@main 182 | with: 183 | retain_days: 180 184 | keep_minimum_runs: 10 185 | 186 | - name: 删除旧的Releases 187 | uses: dev-drprasad/delete-older-releases@v0.1.0 188 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 189 | with: 190 | keep_latest: 9 191 | delete_tags: true 192 | env: 193 | GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} 194 | 195 | - name: 微信报告 196 | uses: emon100/Action-Serverchan@master 197 | if: steps.organize.outputs.status == 'success' && !cancelled() 198 | with: 199 | SCKEY: ${{ secrets.SERVERCHAN }} 200 | text: 恭喜主人openwrt5.10最新版固件编译成功! 201 | desp: 我亲爱的主人您要编译的固件成功完成了! 202 | 203 | 204 | 奶牛快传:${{ steps.cowtransfer.outputs.url }} 205 | 206 | 207 | WeTransfer:${{ steps.wetransfer.outputs.url }} 208 | 209 | 210 | Have a nice day. 211 | -------------------------------------------------------------------------------- /.github/workflows/openwrt5.15.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: OpenWrt-lede5.15 10 | 11 | on: 12 | repository_dispatch: 13 | workflow_dispatch: 14 | inputs: 15 | ssh: 16 | description: 'SSH connection to Actions' 17 | required: false 18 | default: 'false' 19 | schedule: 20 | - cron: 0 17 */5 * * 21 | 22 | env: 23 | REPO_URL: https://github.com/coolsnowwolf/lede 24 | REPO_BRANCH: master 25 | FEEDS_CONF: feeds.conf.default 26 | CONFIG_FILE: 5.15.config 27 | DIY_P1_SH: diy5.15.sh 28 | DIY_P2_SH: diy.sh 29 | SSH_ACTIONS: false 30 | UPLOAD_BIN_DIR: true 31 | UPLOAD_FIRMWARE: true 32 | UPLOAD_COWTRANSFER: false 33 | UPLOAD_WETRANSFER: false 34 | UPLOAD_RELEASE: true 35 | TZ: Asia/Shanghai 36 | 37 | jobs: 38 | build: 39 | runs-on: ubuntu-20.04 40 | 41 | steps: 42 | - name: Before freeing up disk space 43 | run: | 44 | echo "Before freeing up disk space" 45 | echo "==============================================================================" 46 | df -hT 47 | echo "==============================================================================" 48 | 49 | - name: 检查项目分支 50 | uses: actions/checkout@main 51 | 52 | - name: 安装编译环境 53 | env: 54 | DEBIAN_FRONTEND: noninteractive 55 | run: | 56 | df -hT $PWD 57 | sudo swapoff -a 58 | sudo rm -f /swapfile 59 | sudo apt clean 60 | sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 61 | sudo -E apt-get -y purge azure-cli ghc* zulu* hhvm llvm* firefox google* dotnet* powershell openjdk* adoptopenjdk* mysql* php* mongodb* dotnet* moby* snapd* || true 62 | sudo -E apt-get -qq update 63 | sudo -E apt-get -qq install $(curl -fsSL https://github.com/firkerword/openwrt-list/raw/master/depends-ubuntu-2004) 64 | sudo -E apt-get -qq autoremove --purge 65 | sudo -E apt-get -qq clean 66 | sudo timedatectl set-timezone "$TZ" 67 | sudo mkdir -p /mnt/workdir 68 | sudo chown $USER:$GROUPS /mnt/workdir 69 | 70 | - name: Before freeing up disk space 71 | run: | 72 | echo "Before freeing up disk space" 73 | echo "==============================================================================" 74 | df -hT 75 | echo "==============================================================================" 76 | 77 | - name: 下载固件源码 78 | working-directory: /mnt/workdir 79 | run: | 80 | df -hT $PWD 81 | git clone $REPO_URL -b $REPO_BRANCH openwrt 82 | ln -sf /mnt/workdir/openwrt $GITHUB_WORKSPACE/openwrt 83 | cd openwrt 84 | echo "DATE=$(date "+%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV 85 | 86 | - name: 加载自定义设置 87 | run: | 88 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 89 | chmod +x $DIY_P1_SH 90 | cd openwrt 91 | $GITHUB_WORKSPACE/$DIY_P1_SH 92 | - name: 下载插件 93 | run: cd openwrt && ./scripts/feeds update -a 94 | 95 | - name: 读取插件 96 | run: cd openwrt && ./scripts/feeds install -a 97 | 98 | - name: 更改设置 99 | run: | 100 | [ -e files ] && mv files openwrt/files 101 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 102 | chmod +x $DIY_P2_SH 103 | cd openwrt 104 | $GITHUB_WORKSPACE/$DIY_P2_SH 105 | - name: SSH链接管理 106 | uses: P3TERX/ssh2actions@v1.0.0 107 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 108 | env: 109 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 110 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 111 | 112 | - name: 下载安装包 113 | id: package 114 | run: | 115 | cd openwrt 116 | make defconfig 117 | make download -j8 118 | find dl -size -1024c -exec ls -l {} \; 119 | find dl -size -1024c -exec rm -f {} \; 120 | - name: 开始编译固件 121 | id: compile 122 | run: | 123 | cd openwrt 124 | echo -e "$(nproc) thread compile" 125 | make -j$(nproc) || make -j1 || make -j1 V=s 126 | echo "status=success" >> $GITHUB_OUTPUT 127 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 128 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 129 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 130 | echo "FILE_TIME=$(date "+%Y年%m月%d日-%H点")" >> $GITHUB_ENV 131 | echo "TAG_TIME=$(date +"%Y.%m.%d-%H%M")" >> $GITHUB_ENV 132 | 133 | - name: 查看磁盘使用情况 134 | if: (!cancelled()) 135 | run: df -hT 136 | 137 | - name: 上传bin压缩目录 138 | uses: actions/upload-artifact@main 139 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 140 | with: 141 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 142 | path: openwrt/bin/packages/x86_64 143 | 144 | - name: 整理编译好的固件 145 | id: organize 146 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 147 | run: | 148 | cd openwrt/bin/targets/*/* 149 | rm -rf packages && mkdir packages 150 | find -name "*esxi-flat.vmdk*" | xargs -i mv -f {} packages 151 | find -name "*kernel.bin*" | xargs -i mv -f {} packages 152 | find -name "*rootfs*" | xargs -i mv -f {} packages 153 | find -name "*.manifest*" | xargs -i mv -f {} packages 154 | find -name "*vmlinuz*" | xargs -i mv -f {} packages 155 | find -name "*esxi.vmdk*" | xargs -i mv -f {} packages 156 | rm -rf packages 157 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 158 | echo "status=success" >> $GITHUB_OUTPUT 159 | - name: 上传固件到github 160 | uses: actions/upload-artifact@main 161 | if: steps.organize.outputs.status == 'success' && !cancelled() 162 | with: 163 | name: OpenWrt-5.15${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 164 | path: ${{ env.FIRMWARE }} 165 | 166 | - name: 上传固件到NN网盘 167 | id: cowtransfer 168 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 169 | run: | 170 | curl -fsSL git.io/file-transfer | sh 171 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 172 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 173 | echo "url=$(cat cowtransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 174 | - name: 上传固件到WT网盘 175 | id: wetransfer 176 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 177 | run: | 178 | curl -fsSL git.io/file-transfer | sh 179 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 180 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 181 | echo "url=$(cat wetransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 182 | 183 | - name: 创建release标签 184 | id: tag 185 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 186 | run: | 187 | echo "release_tag=${{ env.TAG_TIME }}" >> $GITHUB_OUTPUT 188 | touch release.txt 189 | echo "功能介绍:含Alist、Docker、Mosdns、定时重拨、Openclash、SSR、UU加速等插件。" >> release.txt 190 | echo "[固件源码](https://github.com/coolsnowwolf/lede)" >> release.txt 191 | echo "由衷感谢所有为openwrt无私奉献的大佬们" >> release.txt 192 | echo "📥 固件下载" >> release.txt 193 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [国内NN网盘](${{ steps.cowtransfer.outputs.url }})" >> release.txt 194 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [国外WT网盘](${{ steps.wetransfer.outputs.url }})" >> release.txt 195 | echo "status=success" >> $GITHUB_OUTPUT 196 | - name: 发布至release 197 | uses: softprops/action-gh-release@v1 198 | if: steps.tag.outputs.status == 'success' && !cancelled() 199 | env: 200 | GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} 201 | with: 202 | name: ${{ env.FILE_TIME }} 「 openwrt5.15-X86-64 」 203 | tag_name: ${{ steps.tag.outputs.release_tag }} 204 | body_path: release.txt 205 | files: ${{ env.FIRMWARE }}/* 206 | 207 | - name: 清理旧的workflow 208 | uses: FunctionXJB/delete-workflow-runs@main 209 | with: 210 | retain_days: 180 211 | keep_minimum_runs: 10 212 | 213 | - name: 删除旧的Releases 214 | uses: dev-drprasad/delete-older-releases@v0.1.0 215 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 216 | with: 217 | keep_latest: 9 218 | delete_tags: true 219 | env: 220 | GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} 221 | 222 | - name: TG推送 223 | run: curl "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" -d "chat_id=${{ secrets.TELEGRAM_CHAT_ID }}&text=🅱️恭喜主人X86-openwrt5.15-1806版固件编译完成!🎉%0A⏰编译时间:${{ env.DATE }}%0A📥下载地址:https://github.com/firker/openwrt-Exclusive/releases/tag/${{ env.TAG_TIME }}%0A🌐WT网盘:${{ steps.wetransfer.outputs.url }}" 224 | -------------------------------------------------------------------------------- /.github/workflows/openwrt5.4.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: OpenWrt-lede5.4 10 | 11 | on: 12 | repository_dispatch: 13 | workflow_dispatch: 14 | inputs: 15 | ssh: 16 | description: 'SSH connection to Actions' 17 | required: false 18 | default: 'false' 19 | schedule: 20 | - cron: 0 21 */5 * * 21 | 22 | env: 23 | REPO_URL: https://github.com/coolsnowwolf/lede 24 | REPO_BRANCH: master 25 | FEEDS_CONF: feeds.conf.default 26 | CONFIG_FILE: 5.4.config 27 | DIY_P1_SH: diy5.4.sh 28 | DIY_P2_SH: diy.sh 29 | SSH_ACTIONS: false 30 | UPLOAD_BIN_DIR: false 31 | UPLOAD_FIRMWARE: true 32 | UPLOAD_COWTRANSFER: false 33 | UPLOAD_WETRANSFER: true 34 | UPLOAD_RELEASE: true 35 | TZ: Asia/Shanghai 36 | 37 | jobs: 38 | build: 39 | runs-on: ubuntu-20.04 40 | 41 | steps: 42 | - name: 检查项目分支 43 | uses: actions/checkout@main 44 | 45 | - name: 安装编译环境 46 | env: 47 | DEBIAN_FRONTEND: noninteractive 48 | run: | 49 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 50 | sudo -E apt-get -qq update 51 | sudo -E apt-get -qq install $(curl -fsSL https://github.com/firkerword/openwrt-list/raw/master/depends-ubuntu-2004) 52 | sudo -E apt-get -qq autoremove --purge 53 | sudo -E apt-get -qq clean 54 | sudo timedatectl set-timezone "$TZ" 55 | sudo mkdir -p /workdir 56 | sudo chown $USER:$GROUPS /workdir 57 | - name: 下载固件源码 58 | working-directory: /workdir 59 | run: | 60 | df -hT $PWD 61 | git clone $REPO_URL -b $REPO_BRANCH openwrt 62 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 63 | cd openwrt 64 | useVersionInfo=$(git show -s --date=short --format="%0AAuthor: %an%0Adate: %cd%0Acommit: %s%0Acommit hash: %H") 65 | echo "useVersionInfo=$useVersionInfo" >> $GITHUB_ENV 66 | echo "DATE=$(date "+%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV 67 | 68 | - name: 加载自定义设置 69 | run: | 70 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 71 | chmod +x $DIY_P1_SH 72 | cd openwrt 73 | $GITHUB_WORKSPACE/$DIY_P1_SH 74 | - name: 下载插件 75 | run: cd openwrt && ./scripts/feeds update -a 76 | 77 | - name: 读取插件 78 | run: cd openwrt && ./scripts/feeds install -a 79 | 80 | - name: 更改设置 81 | run: | 82 | [ -e files ] && mv files openwrt/files 83 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 84 | chmod +x $DIY_P2_SH 85 | cd openwrt 86 | $GITHUB_WORKSPACE/$DIY_P2_SH 87 | - name: SSH链接管理 88 | uses: P3TERX/ssh2actions@v1.0.0 89 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 90 | env: 91 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 92 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 93 | 94 | - name: 下载安装包 95 | id: package 96 | run: | 97 | cd openwrt 98 | make defconfig 99 | make download -j8 100 | find dl -size -1024c -exec ls -l {} \; 101 | find dl -size -1024c -exec rm -f {} \; 102 | - name: 开始编译固件 103 | id: compile 104 | run: | 105 | cd openwrt 106 | echo -e "$(nproc) thread compile" 107 | make -j$(nproc) || make -j1 || make -j1 V=s 108 | echo "status=success" >> $GITHUB_OUTPUT 109 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 110 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 111 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 112 | echo "FILE_TIME=$(date "+%Y年%m月%d日-%H点")" >> $GITHUB_ENV 113 | echo "TAG_TIME=$(date +"%Y.%m.%d-%H%M")" >> $GITHUB_ENV 114 | - name: 查看磁盘使用情况 115 | if: (!cancelled()) 116 | run: df -hT 117 | 118 | - name: 上传bin压缩目录 119 | uses: actions/upload-artifact@main 120 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 121 | with: 122 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 123 | path: openwrt/bin/packages/x86_64 124 | 125 | - name: 整理编译好的固件 126 | id: organize 127 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 128 | run: | 129 | cd openwrt/bin/targets/*/* 130 | rm -rf packages && mkdir packages 131 | find -name "*esxi-flat.vmdk*" | xargs -i mv -f {} packages 132 | find -name "*kernel.bin*" | xargs -i mv -f {} packages 133 | find -name "*rootfs*" | xargs -i mv -f {} packages 134 | find -name "*.manifest*" | xargs -i mv -f {} packages 135 | find -name "*vmlinuz*" | xargs -i mv -f {} packages 136 | find -name "*esxi.vmdk*" | xargs -i mv -f {} packages 137 | rm -rf packages 138 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 139 | echo "status=success" >> $GITHUB_OUTPUT 140 | - name: 上传固件到github 141 | uses: actions/upload-artifact@main 142 | if: steps.organize.outputs.status == 'success' && !cancelled() 143 | with: 144 | name: OpenWrt_5.4${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 145 | path: ${{ env.FIRMWARE }} 146 | 147 | - name: 上传固件到NN网盘 148 | id: cowtransfer 149 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 150 | run: | 151 | curl -fsSL git.io/file-transfer | sh 152 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 153 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 154 | echo "url=$(cat cowtransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 155 | - name: 上传固件到WT网盘 156 | id: wetransfer 157 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 158 | run: | 159 | curl -fsSL git.io/file-transfer | sh 160 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 161 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 162 | echo "url=$(cat wetransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 163 | 164 | - name: 创建release标签 165 | id: tag 166 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 167 | run: | 168 | echo "release_tag=${{ env.TAG_TIME }}" >> $GITHUB_OUTPUT 169 | touch release.txt 170 | echo "功能介绍:含Mosdns、Dockerman、定时重拨、openclash、passwall、Rclone、cifsd共享、nfs共享、nps穿透、回家、UU加速等插件。" >> release.txt 171 | echo "[固件源码](https://github.com/coolsnowwolf/lede)" >> release.txt 172 | echo "由衷感谢所有为openwrt无私奉献的大佬们" >> release.txt 173 | echo "📥 固件下载" >> release.txt 174 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [国内NN网盘](${{ steps.cowtransfer.outputs.url }})" >> release.txt 175 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [国外WT网盘](${{ steps.wetransfer.outputs.url }})" >> release.txt 176 | echo "status=success" >> $GITHUB_OUTPUT 177 | - name: 发布至release 178 | uses: softprops/action-gh-release@v1 179 | if: steps.tag.outputs.status == 'success' && !cancelled() 180 | env: 181 | GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} 182 | with: 183 | name: ${{ env.FILE_TIME }} 「 openwrt5.4-X86-64 」 184 | tag_name: ${{ steps.tag.outputs.release_tag }} 185 | body_path: release.txt 186 | files: ${{ env.FIRMWARE }}/* 187 | 188 | - name: 清理旧的workflow 189 | uses: FunctionXJB/delete-workflow-runs@main 190 | with: 191 | retain_days: 180 192 | keep_minimum_runs: 10 193 | 194 | - name: 删除旧的Releases 195 | uses: dev-drprasad/delete-older-releases@v0.1.0 196 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 197 | with: 198 | keep_latest: 9 199 | delete_tags: true 200 | env: 201 | GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} 202 | 203 | - name: TG推送 204 | run: curl "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" -d "chat_id=${{ secrets.TELEGRAM_CHAT_ID }}&text=🅱️恭喜主人X86-openwrt5.4-1806版固件编译完成!🎉%0A⏰编译时间:${{ env.DATE }}%0A📥下载地址:https://github.com/firker/openwrt-Exclusive/releases/tag/${{ env.TAG_TIME }}%0A📥WT网盘:${{ steps.wetransfer.outputs.url }}" 205 | -------------------------------------------------------------------------------- /.github/workflows/openwrt6.6.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: OpenWrt-lede6.12 10 | 11 | on: 12 | repository_dispatch: 13 | workflow_dispatch: 14 | inputs: 15 | ssh: 16 | description: 'SSH connection to Actions' 17 | required: false 18 | default: 'false' 19 | schedule: 20 | - cron: 0 18 */5 * * 21 | 22 | env: 23 | REPO_URL: https://github.com/coolsnowwolf/lede 24 | REPO_BRANCH: master 25 | FEEDS_CONF: feeds.conf.default 26 | CONFIG_FILE: 6.0.config 27 | DIY_P1_SH: diy6.0.sh 28 | DIY_P2_SH: diy.sh 29 | SSH_ACTIONS: false 30 | UPLOAD_BIN_DIR: false 31 | UPLOAD_FIRMWARE: true 32 | UPLOAD_COWTRANSFER: false 33 | UPLOAD_WETRANSFER: false 34 | UPLOAD_RELEASE: true 35 | TZ: Asia/Shanghai 36 | 37 | jobs: 38 | build: 39 | runs-on: ubuntu-22.04 40 | 41 | steps: 42 | - name: Before freeing up disk space 43 | run: | 44 | echo "Before freeing up disk space" 45 | echo "==============================================================================" 46 | df -hT 47 | echo "==============================================================================" 48 | 49 | - name: "Optimize Disk Space" 50 | uses: "hugoalh/disk-space-optimizer-ghaction@v0.8.0" 51 | with: 52 | operate_sudo: "True" 53 | general_include: ".+" 54 | general_exclude: |- 55 | ^GCC$ 56 | ^G\+\+$ 57 | Clang 58 | LLVM 59 | docker_include: ".+" 60 | docker_prune: "True" 61 | docker_clean: "True" 62 | apt_prune: "True" 63 | apt_clean: "True" 64 | homebrew_prune: "True" 65 | homebrew_clean: "True" 66 | npm_prune: "True" 67 | npm_clean: "True" 68 | os_swap: "True" 69 | 70 | - name: Freeing up disk space 71 | uses: easimon/maximize-build-space@master 72 | with: 73 | root-reserve-mb: 2048 74 | swap-size-mb: 1 75 | remove-dotnet: 'true' 76 | remove-android: 'true' 77 | remove-haskell: 'true' 78 | remove-codeql: 'true' 79 | remove-docker-images: 'true' 80 | 81 | - name: Free up disk space complete 82 | run: | 83 | echo "Free up disk space complete" 84 | echo "==============================================================================" 85 | df -hT 86 | echo "==============================================================================" 87 | - name: 检查项目分支 88 | uses: actions/checkout@main 89 | 90 | - name: 安装编译环境 91 | env: 92 | DEBIAN_FRONTEND: noninteractive 93 | run: | 94 | sudo -E apt-get -qq update 95 | sudo -E apt-get -qq install $(curl -fsSL https://github.com/firkerword/openwrt-list/raw/master/depends-ubuntu-2004) 96 | sudo -E apt-get -qq autoremove --purge 97 | sudo -E apt-get -qq clean 98 | sudo rm -rf /etc/apt/sources.list.d/* /usr/local/lib/android /opt/ghc /usr/share/dotnet /usr/local/graalvm /usr/local/.ghcup \ 99 | /usr/local/share/powershell /usr/local/share/chromium /usr/local/lib/node_modules 100 | sudo timedatectl set-timezone "$TZ" 101 | sudo chown $USER:$GROUPS $GITHUB_WORKSPACE 102 | 103 | - name: 查看磁盘 104 | run: df -hT 105 | 106 | - name: 下载固件源码 107 | working-directory: ./ 108 | run: | 109 | git clone $REPO_URL -b $REPO_BRANCH openwrt 110 | cd openwrt 111 | echo "DATE=$(date "+%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV 112 | 113 | - name: 加载自定义设置 114 | run: | 115 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 116 | chmod +x $DIY_P1_SH 117 | cd openwrt 118 | $GITHUB_WORKSPACE/$DIY_P1_SH 119 | - name: 下载插件 120 | run: cd openwrt && ./scripts/feeds update -a 121 | 122 | - name: 读取插件 123 | run: cd openwrt && ./scripts/feeds install -a 124 | 125 | - name: 更改设置 126 | run: | 127 | [ -e files ] && mv files openwrt/files 128 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 129 | chmod +x $DIY_P2_SH 130 | cd openwrt 131 | $GITHUB_WORKSPACE/$DIY_P2_SH 132 | - name: SSH链接管理 133 | uses: P3TERX/ssh2actions@v1.0.0 134 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 135 | env: 136 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 137 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 138 | 139 | - name: 下载安装包 140 | id: package 141 | run: | 142 | cd openwrt 143 | make defconfig 144 | make download -j8 145 | find dl -size -1024c -exec ls -l {} \; 146 | find dl -size -1024c -exec rm -f {} \; 147 | - name: 开始编译固件 148 | id: compile 149 | run: | 150 | cd openwrt 151 | echo -e "$(nproc) thread compile" 152 | make -j$(nproc) || make -j1 || make -j1 V=s 153 | echo "status=success" >> $GITHUB_OUTPUT 154 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 155 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 156 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 157 | echo "FILE_TIME=$(date "+%Y年%m月%d日-%H点")" >> $GITHUB_ENV 158 | echo "TAG_TIME=$(date +"%Y.%m.%d-%H%M")" >> $GITHUB_ENV 159 | - name: 查看磁盘使用情况 160 | if: (!cancelled()) 161 | run: df -hT 162 | 163 | - name: 上传bin压缩目录 164 | uses: actions/upload-artifact@main 165 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 166 | with: 167 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 168 | path: openwrt/bin/packages/x86_64 169 | 170 | - name: 整理编译好的固件 171 | id: organize 172 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 173 | run: | 174 | cd openwrt/bin/targets/*/* 175 | rm -rf packages && mkdir packages 176 | find -name "*esxi-flat.vmdk*" | xargs -i mv -f {} packages 177 | find -name "*kernel.bin*" | xargs -i mv -f {} packages 178 | find -name "*rootfs*" | xargs -i mv -f {} packages 179 | find -name "*.manifest*" | xargs -i mv -f {} packages 180 | find -name "*vmlinuz*" | xargs -i mv -f {} packages 181 | find -name "*esxi.vmdk*" | xargs -i mv -f {} packages 182 | rm -rf packages 183 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 184 | echo "status=success" >> $GITHUB_OUTPUT 185 | - name: 上传固件到github 186 | uses: actions/upload-artifact@main 187 | if: steps.organize.outputs.status == 'success' && !cancelled() 188 | with: 189 | name: OpenWrt_6.6${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 190 | path: ${{ env.FIRMWARE }} 191 | 192 | - name: 上传固件到NN网盘 193 | id: cowtransfer 194 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 195 | run: | 196 | curl -fsSL git.io/file-transfer | sh 197 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 198 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 199 | echo "url=$(cat cowtransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 200 | - name: 上传固件到WT网盘 201 | id: wetransfer 202 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 203 | run: | 204 | curl -fsSL git.io/file-transfer | sh 205 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 206 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 207 | echo "url=$(cat wetransfer.log | grep https | cut -f3 -d" ")" >> $GITHUB_OUTPUT 208 | 209 | - name: 发布至release 210 | id: release 211 | uses: ncipollo/release-action@v1 212 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 213 | with: 214 | name: ${{ env.FILE_TIME }} 「 openwrt-6.12-X86-64 」 215 | allowUpdates: true 216 | tag: ${{ env.TAG_TIME }} 217 | commit: main 218 | token: ${{ secrets.RELEASE_TOKEN }} 219 | body: | 220 | 功能介绍:IPV6、Dockerman、定时重拨、Passwall、Openvpn、mosdns等。 221 | [固件源码](https://github.com/coolsnowwolf/lede) 222 | 由衷感谢所有为openwrt无私奉献的大佬们 223 | 📥 固件下载 224 | 🔗 [国外WT网盘](${{ steps.wetransfer.outputs.url }}) 225 | artifacts: ${{ env.FIRMWARE }}/* 226 | 227 | - name: 清理旧的workflow 228 | uses: FunctionXJB/delete-workflow-runs@main 229 | with: 230 | retain_days: 180 231 | keep_minimum_runs: 10 232 | 233 | - name: 删除旧的Releases 234 | uses: dev-drprasad/delete-older-releases@v0.3.2 235 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 236 | with: 237 | keep_latest: 9 238 | delete_tags: true 239 | env: 240 | GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} 241 | 242 | - name: TG推送 243 | run: curl "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendMessage" -d "chat_id=${{ secrets.TELEGRAM_CHAT_ID }}&text=🅱️恭喜主人X86-openwrt6.12-1806版固件编译完成!🎉%0A⏰编译时间:${{ env.DATE }}%0A📥下载地址:https://github.com/firker/openwrt-Exclusive/releases/tag/${{ env.TAG_TIME }}%0A🌐WT网盘:${{ steps.wetransfer.outputs.url }}" 244 | -------------------------------------------------------------------------------- /4.19.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_x86=y 2 | CONFIG_TARGET_x86_64=y 3 | CONFIG_TARGET_x86_64_DEVICE_generic=y 4 | CONFIG_GRUB_IMAGES=y 5 | CONFIG_PACKAGE_ipv6helper=y 6 | CONFIG_PACKAGE_odhcp6c=y 7 | CONFIG_PACKAGE_open-vm-tools=y 8 | CONFIG_TARGET_IMAGES_GZIP=y 9 | CONFIG_TARGET_ROOTFS_PARTSIZE=1024 10 | -------------------------------------------------------------------------------- /5.15.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_x86=y 2 | CONFIG_TARGET_x86_64=y 3 | CONFIG_TARGET_x86_64_DEVICE_generic=y 4 | CONFIG_GRUB_IMAGES=y 5 | CONFIG_PACKAGE_ipv6helper=y 6 | CONFIG_PACKAGE_ip6tables=y 7 | CONFIG_PACKAGE_ip6tables-extra=y 8 | CONFIG_PACKAGE_ip6tables-mod-nat=y 9 | CONFIG_PACKAGE_wrtbwmon=y 10 | # CONFIG_PACKAGE_luci-app-accesscontrol is not set 11 | CONFIG_PACKAGE_luci-app-adguardhome=y 12 | CONFIG_PACKAGE_luci-app-argon-config=y 13 | CONFIG_PACKAGE_luci-app-alist=y 14 | # CONFIG_PACKAGE_luci-app-autoreboot is not set 15 | CONFIG_PACKAGE_luci-app-autotimeset=y 16 | CONFIG_PACKAGE_luci-app-dockerman=y 17 | CONFIG_PACKAGE_luci-app-diskman=y 18 | CONFIG_PACKAGE_luci-app-familycloud=y 19 | CONFIG_PACKAGE_luci-app-mosdns=y 20 | CONFIG_PACKAGE_luci-app-lucky=y 21 | # CONFIG_PACKAGE_luci-app-ipsec-vpnd is not set 22 | # CONFIG_PACKAGE_luci-app-nlbwmon is not set 23 | CONFIG_PACKAGE_luci-app-mosdns=y 24 | CONFIG_PACKAGE_luci-app-nps=y 25 | CONFIG_PACKAGE_luci-app-openclash=y 26 | CONFIG_PACKAGE_luci-app-openvpn-server=y 27 | CONFIG_PACKAGE_luci-app-passwall=y 28 | CONFIG_PACKAGE_luci-app-uugamebooster=y 29 | CONFIG_PACKAGE_luci-app-pushbot=y 30 | # CONFIG_PACKAGE_luci-app-vlmcsd is not set 31 | # CONFIG_PACKAGE_luci-app-vsftpd is not set 32 | CONFIG_PACKAGE_luci-app-wrtbwmon-zh=y 33 | # CONFIG_PACKAGE_luci-app-xlnetacc is not set 34 | CONFIG_PACKAGE_luci-compat=y 35 | CONFIG_PACKAGE_luci-proto-ipv6=y 36 | CONFIG_PACKAGE_luci-theme-bootstrap=y 37 | CONFIG_PACKAGE_luci-theme-argon-18.06=y 38 | CONFIG_PACKAGE_luci-theme-kucat=y 39 | CONFIG_PACKAGE_luci-theme-fruitbingo=y 40 | CONFIG_PACKAGE_luci-theme-material=y 41 | CONFIG_PACKAGE_luci-theme-opentomato=y 42 | CONFIG_PACKAGE_luci-theme-btmod=y 43 | CONFIG_PACKAGE_luci-theme-edge=y 44 | CONFIG_PACKAGE_luci-theme-ifit=y 45 | CONFIG_PACKAGE_luci-theme-design=y 46 | CONFIG_PACKAGE_luci-theme-opentomcat=y 47 | CONFIG_PACKAGE_v2ray-geoip=y 48 | CONFIG_PACKAGE_v2ray-geosite=y 49 | CONFIG_PACKAGE_naiveproxy=y 50 | CONFIG_PACKAGE_odhcp6c=y 51 | CONFIG_PACKAGE_open-vm-tools=y 52 | CONFIG_TARGET_IMAGES_GZIP=y 53 | CONFIG_TARGET_ROOTFS_PARTSIZE=1024 54 | -------------------------------------------------------------------------------- /5.4.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_x86=y 2 | CONFIG_TARGET_x86_64=y 3 | CONFIG_TARGET_x86_64_DEVICE_generic=y 4 | CONFIG_DOCKER_CGROUP_OPTIONS=y 5 | CONFIG_DOCKER_NET_MACVLAN=y 6 | CONFIG_DOCKER_STO_EXT4=y 7 | CONFIG_GRUB_IMAGES=y 8 | CONFIG_KERNEL_CGROUP_DEVICE=y 9 | CONFIG_KERNEL_CGROUP_FREEZER=y 10 | CONFIG_KERNEL_CGROUP_NET_PRIO=y 11 | CONFIG_KERNEL_EXT4_FS_POSIX_ACL=y 12 | CONFIG_KERNEL_EXT4_FS_SECURITY=y 13 | CONFIG_KERNEL_FS_POSIX_ACL=y 14 | CONFIG_KERNEL_NET_CLS_CGROUP=y 15 | CONFIG_KSMBD_SMB_INSECURE_SERVER=y 16 | CONFIG_NFS_KERNEL_SERVER_V4=y 17 | CONFIG_PACKAGE_ipv6helper=y 18 | CONFIG_PACKAGE_ip6tables=y 19 | CONFIG_PACKAGE_ip6tables-extra=y 20 | CONFIG_PACKAGE_ip6tables-mod-nat=y 21 | CONFIG_PACKAGE_wrtbwmon=y 22 | # CONFIG_PACKAGE_luci-app-accesscontrol is not set 23 | CONFIG_PACKAGE_luci-app-adguardhome=y 24 | CONFIG_PACKAGE_luci-app-alist=y 25 | # CONFIG_PACKAGE_luci-app-autoreboot is not set 26 | CONFIG_PACKAGE_luci-app-autotimeset=y 27 | CONFIG_PACKAGE_luci-app-bypass=y 28 | CONFIG_PACKAGE_luci-app-cifsd=y 29 | CONFIG_PACKAGE_luci-app-dockerman=y 30 | CONFIG_PACKAGE_luci-app-mwan3=y 31 | CONFIG_PACKAGE_luci-app-mosdns=y 32 | CONFIG_PACKAGE_luci-app-lucky=y 33 | CONFIG_PACKAGE_luci-app-nfs=y 34 | CONFIG_PACKAGE_luci-app-nps=y 35 | CONFIG_PACKAGE_luci-app-openclash=y 36 | CONFIG_PACKAGE_luci-app-openvpn-server=y 37 | CONFIG_PACKAGE_luci-app-passwall=y 38 | CONFIG_PACKAGE_luci-app-rclone=y 39 | CONFIG_PACKAGE_luci-app-statistics=y 40 | CONFIG_PACKAGE_luci-app-syncdial=y 41 | CONFIG_PACKAGE_luci-app-smartdns=y 42 | CONFIG_PACKAGE_luci-app-uugamebooster=y 43 | # CONFIG_PACKAGE_luci-app-wireguard is not set 44 | CONFIG_PACKAGE_luci-app-wrtbwmon-zh=y 45 | CONFIG_PACKAGE_luci-theme-bootstrap=y 46 | CONFIG_PACKAGE_luci-theme-argon-18.06=y 47 | CONFIG_PACKAGE_luci-theme-kucat=y 48 | CONFIG_PACKAGE_luci-theme-fruitbingo=y 49 | CONFIG_PACKAGE_luci-theme-material=y 50 | CONFIG_PACKAGE_luci-theme-opentomato=y 51 | CONFIG_PACKAGE_luci-theme-btmod=y 52 | CONFIG_PACKAGE_luci-theme-edge=y 53 | CONFIG_PACKAGE_luci-theme-ifit=y 54 | CONFIG_PACKAGE_luci-theme-design=y 55 | CONFIG_PACKAGE_luci-theme-opentomcat=y 56 | CONFIG_PACKAGE_v2ray-geoip=y 57 | CONFIG_PACKAGE_v2ray-geosite=y 58 | CONFIG_PACKAGE_naiveproxy=y 59 | CONFIG_RPCBIND_LIBWRAP=y 60 | CONFIG_RPCBIND_RMTCALLS=y 61 | CONFIG_TARGET_IMAGES_GZIP=y 62 | CONFIG_TARGET_ROOTFS_PARTSIZE=1024 63 | CONFIG_boost-compile-visibility-hidden=y 64 | CONFIG_boost-runtime-shared=y 65 | CONFIG_boost-static-and-shared-libs=y 66 | CONFIG_boost-variant-release=y 67 | -------------------------------------------------------------------------------- /6.0.config: -------------------------------------------------------------------------------- 1 | CONFIG_TARGET_x86=y 2 | CONFIG_TARGET_x86_64=y 3 | CONFIG_TARGET_x86_64_DEVICE_generic=y 4 | CONFIG_GRUB_IMAGES=y 5 | CONFIG_PACKAGE_ipv6helper=y 6 | CONFIG_PACKAGE_ip6tables=y 7 | CONFIG_PACKAGE_ip6tables-extra=y 8 | CONFIG_PACKAGE_ip6tables-mod-nat=y 9 | CONFIG_PACKAGE_wrtbwmon=y 10 | # CONFIG_PACKAGE_luci-app-accesscontrol is not set 11 | CONFIG_PACKAGE_luci-app-argon-config=y 12 | CONFIG_PACKAGE_luci-app-alist=y 13 | # CONFIG_PACKAGE_luci-app-autoreboot is not set 14 | CONFIG_PACKAGE_luci-app-adguardhome=y 15 | CONFIG_PACKAGE_luci-app-autotimeset=y 16 | CONFIG_PACKAGE_luci-app-mosdns=y 17 | CONFIG_PACKAGE_luci-app-lucky=y 18 | CONFIG_PACKAGE_luci-app-dockerman=y 19 | CONFIG_PACKAGE_luci-app-diskman=y 20 | CONFIG_PACKAGE_luci-app-mosdns=y 21 | # CONFIG_PACKAGE_luci-app-smartdns=y 22 | # CONFIG_PACKAGE_luci-app-ipsec-vpnd is not set 23 | # CONFIG_PACKAGE_luci-app-nlbwmon is not set 24 | CONFIG_PACKAGE_luci-app-openvpn-server=y 25 | CONFIG_PACKAGE_luci-app-passwall=y 26 | CONFIG_PACKAGE_luci-app-pushbot=y 27 | # CONFIG_PACKAGE_luci-app-vlmcsd is not set 28 | # CONFIG_PACKAGE_luci-app-vsftpd is not set 29 | CONFIG_PACKAGE_luci-app-wrtbwmon-zh=y 30 | # CONFIG_PACKAGE_luci-app-xlnetacc is not set 31 | CONFIG_PACKAGE_luci-compat=y 32 | CONFIG_PACKAGE_luci-lib-docker=y 33 | CONFIG_PACKAGE_luci-proto-ipv6=y 34 | # CONFIG_PACKAGE_luci-proto-wireguard is not set 35 | CONFIG_PACKAGE_luci-theme-bootstrap=y 36 | CONFIG_PACKAGE_luci-theme-argon-18.06=y 37 | CONFIG_PACKAGE_luci-theme-kucat=y 38 | CONFIG_PACKAGE_luci-theme-fruitbingo=y 39 | CONFIG_PACKAGE_luci-theme-material=y 40 | CONFIG_PACKAGE_luci-theme-opentomato=y 41 | CONFIG_PACKAGE_luci-theme-btmod=y 42 | CONFIG_PACKAGE_luci-theme-edge=y 43 | CONFIG_PACKAGE_luci-theme-ifit=y 44 | CONFIG_PACKAGE_luci-theme-design=y 45 | CONFIG_PACKAGE_luci-theme-opentomcat=y 46 | CONFIG_PACKAGE_odhcp6c=y 47 | CONFIG_PACKAGE_open-vm-tools=y 48 | CONFIG_TARGET_IMAGES_GZIP=y 49 | CONFIG_TARGET_ROOTFS_PARTSIZE=1024 50 | # CONFIG_PACKAGE_xfrm is not set 51 | # CONFIG_PACKAGE_wireguard-tools is not set 52 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 P3TERX 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Project.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #============================================================= 3 | # https://github.com/P3TERX/Actions-OpenWrt 4 | # File name: diy-part1.sh 5 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 6 | # Lisence: MIT 7 | # Author: P3TERX 8 | # Blog: https://p3terx.com 9 | #============================================================= 10 | 11 | 12 | # Uncomment a feed source 13 | # sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 14 | 15 | # Add a feed source 16 | # sed -i '$a src-git lienol https://github.com/Lienol/openwrt-package' feeds.conf.default 17 | # sed -i '$a src-git passwall https://github.com/xiaorouji/openwrt-passwall' feeds.conf.default 18 | # sed -i '$a src-git jerryk https://github.com/jerrykuku/openwrt-package' feeds.conf.default 19 | git clone https://github.com/fw876/helloworld.git package/ssr 20 | git clone https://github.com/firker/diy-ziyong.git package/diy-ziyong 21 | git clone -b 18.06 https://github.com/garypang13/luci-theme-edge.git package/luci-theme-edge 22 | git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git package/luci-theme-argon 23 | git clone https://github.com/tty228/luci-app-serverchan.git package/luci-app-serverchan 24 | git clone https://github.com/sirpdboy/luci-theme-opentopd.git package/luci-theme-opentopd 25 | git clone https://github.com/kiddin9/openwrt-bypass.git package/openwrt-bypass 26 | git clone https://github.com/xiaorouji/openwrt-passwall.git package/openwrt-passwall 27 | # git clone https://github.com/xiaorouji/openwrt-passwall2.git package/passwall2 28 | git clone -b luci https://github.com/xiaorouji/openwrt-passwall package/passwall 29 | # git clone https://github.com/dwj0/luci-app-sms-tool.git package/luci-app-sms-tool 30 | # git clone -b master https://github.com/vernesong/OpenClash.git package/OpenClash 31 | 32 | # 应用商店 33 | svn co https://github.com/linkease/istore/trunk/luci/luci-app-store package/luci-app-store 34 | svn co https://github.com/linkease/istore-ui/trunk/app-store-ui package/app-store-ui 35 | svn co https://github.com/linkease/openwrt-themedog/trunk/luci/luci-theme-dog package/luci-theme-dog 36 | svn co https://github.com/messense/aliyundrive-webdav/trunk/openwrt package/aliyundrive-webdav 37 | svn co https://github.com/kiddin9/openwrt-packages/trunk/adguardhome package/adguardhome 38 | # svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-adguardhome package/luci-app-adguardhome 39 | # svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash 40 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OpenWrt18.06-X86-64云编译项目 2 | 3 | ## 固件来源: 4 | 5 | P3TERX云编译脚本地址:[https://github.com/P3TERX/Actions-OpenWrt](https://github.com/P3TERX/Actions-OpenWrt) 6 | 7 | lean固件源码地址:[https://github.com/coolsnowwolf/lede](https://github.com/coolsnowwolf/lede) 8 | 9 | 插件引用:[helloworld](https://github.com/fw876/helloworld.git)、[luci-theme-edge](https://github.com/garypang13/luci-theme-edge.git)、[luci-theme-argon](https://github.com/jerrykuku/luci-theme-argon.git)、[luci-app-serverchan](https://github.com/tty228/luci-app-serverchan.git)、[luci-theme-opentopd](https://github.com/sirpdboy/luci-theme-opentopd.git)、[luci-theme-neobird](https://github.com/thinktip/luci-theme-neobird.git)、[luci-app-lucky](https://github.com/sirpdboy/luci-app-lucky.git)、[openwrt-bypass](https://github.com/kiddin9/openwrt-bypass.git)、[openwrt-passwall](https://github.com/xiaorouji/openwrt-passwall.git)、[openwrt-mos](https://github.com/QiuSimons/openwrt-mos.git)、[luci-app-alist](https://github.com/sbwml/luci-app-alist.git)、[OpenClash](https://github.com/vernesong/OpenClash.git)、[istore](https://github.com/linkease/istore.git)、[aliyundrive-webdav](https://github.com/messense/aliyundrive-webdav)、[VSSR](https://github.com/jerrykuku/openwrt-package)。 10 | 11 | 由衷感谢所有为openwrt无私奉献的大佬们。 12 | 13 | ## 固件说明: 14 | 15 | lean源码版本,内核为***5.4***版、***5.10***版、***5.15***、***6.0***版 16 | 17 | 支持IPV6 18 | 19 | 20 | 自动每5天更新一次,手动不定时更新 21 | 22 | > `管理ip:192.168.1.1 密码:password` 23 | 24 | ### 固件分区默认16M+1G,分区一致可直接web升级,否则请使用DD写盘或重新写盘,首次刷入不建议保留配置,以免发生BUG。 25 | 26 | ## 固件下载 27 | ### 点击[Releases](https://github.com/firker/openwrt-Exclusive/releases) 选择最新的版本 28 | ### 点击[Actions](https://github.com/firker/openwrt-Exclusive/actions) 下载历史版本 29 | ![avatar](https://raw.githubusercontent.com/firker/openwrt-Exclusive/main/boc/c.png) 30 | 31 | ## 固件截图: 32 | ### 5.4版(支持IPV6) 33 | ![avatar](https://raw.githubusercontent.com/firker/openwrt-Exclusive/main/boc/d.png) 34 | ### 6.0版(支持IPV6) 35 | ![avatar](https://raw.githubusercontent.com/firker/openwrt-Exclusive/main/boc/b.png) 36 | ## 其他 37 | 联系:[Tg频道订阅](https://t.me/zhinengchaoshenzhe) 38 | 39 | 稳定版云编译项目:[https://github.com/firkerword/openwrt-Exclusive](https://github.com/firkerword/openwrt-Exclusive) 40 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-midnight -------------------------------------------------------------------------------- /boc/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firker/openwrt-Exclusive/41dd6eb8e084e0456be2f797b2fb308665562aac/boc/a.png -------------------------------------------------------------------------------- /boc/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firker/openwrt-Exclusive/41dd6eb8e084e0456be2f797b2fb308665562aac/boc/b.png -------------------------------------------------------------------------------- /boc/c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firker/openwrt-Exclusive/41dd6eb8e084e0456be2f797b2fb308665562aac/boc/c.png -------------------------------------------------------------------------------- /boc/d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firker/openwrt-Exclusive/41dd6eb8e084e0456be2f797b2fb308665562aac/boc/d.png -------------------------------------------------------------------------------- /boc/e.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firker/openwrt-Exclusive/41dd6eb8e084e0456be2f797b2fb308665562aac/boc/e.png -------------------------------------------------------------------------------- /boc/m.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/firker/openwrt-Exclusive/41dd6eb8e084e0456be2f797b2fb308665562aac/boc/m.jpg -------------------------------------------------------------------------------- /diy-part2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part2.sh 10 | # Description: OpenWrt DIY script part 2 (After Update feeds) 11 | # 12 | 13 | # Modify default IP 14 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 15 | -------------------------------------------------------------------------------- /diy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #============================================================ 3 | # https://github.com/P3TERX/Actions-OpenWrt 4 | # File name: diy-part2.sh 5 | # Description: OpenWrt DIY script part 2 (After Update feeds) 6 | # Lisence: MIT 7 | # Author: P3TERX 8 | # Blog: https://p3terx.com 9 | #============================================================ 10 | sed -i '/DTS_DIR:=$(LINUX_DIR)/a\BUILD_DATE_PREFIX := $(shell date +'%F')' ./include/image.mk 11 | sed -i 's/IMG_PREFIX:=/IMG_PREFIX:=$(BUILD_DATE_PREFIX)-/g' ./include/image.mk 12 | sed -i "s/DISTRIB_DESCRIPTION='OpenWrt '/DISTRIB_DESCRIPTION='OpenWrt VIP99 '/g" ./package/lean/default-settings/files/zzz-default-settings 13 | sed -i "s/hostname='OpenWrt'/hostname='OpenWrt-SE'/g" ./package/base-files/files/bin/config_generate 14 | # curl -fsSL https://raw.githubusercontent.com/Lienol/openwrt-packages/19.07/net/https-dns-proxy/files/https-dns-proxy.config > ./feeds/packages/net/https-dns-proxy/files/https-dns-proxy.config 15 | # curl -fsSL https://raw.githubusercontent.com/Lienol/openwrt-packages/19.07/net/https-dns-proxy/files/https-dns-proxy.init > ./feeds/packages/net/https-dns-proxy/files/https-dns-proxy.init 16 | # wget https://raw.githubusercontent.com/Lienol/openwrt-packages/19.07/net/https-dns-proxy/files/https-dns-proxy.config -O ./feeds/packages/net/https-dns-proxy/files/https-dns-proxy.config 17 | # wget https://raw.githubusercontent.com/Lienol/openwrt-packages/19.07/net/https-dns-proxy/files/https-dns-proxy.init -O ./feeds/packages/net/https-dns-proxy/files/https-dns-proxy.init 18 | # curl -fsSL https://raw.githubusercontent.com/siropboy/other/master/patch/poweroff/poweroff.htm > ./feeds/luci/modules/luci-mod-admin-full/luasrc/view/admin_system/poweroff.htm 19 | # curl -fsSL https://raw.githubusercontent.com/siropboy/other/master/patch/poweroff/system.lua > ./feeds/luci/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua 20 | # curl -fsSL https://raw.githubusercontent.com/firkerword/luci-app-bypass/main/Makefile > ./package/luci-app-bypass/Makefile 21 | curl -fsSL https://raw.githubusercontent.com/firkerword/KPR/main/logo.jpg > ./package/luci-app-serverchan/root/usr/bin/serverchan/api/logo.jpg 22 | # Modify default IP 23 | # sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 24 | # sed -i '60s/ITdesk01/firkerword/' ./package/jd_openwrt_script/files/jd_openwrt_script 25 | sed -i 's/bootstrap/argon-18.06/g' ./feeds/luci/collections/luci/Makefile 26 | 27 | rm -rf ./feeds/luci/themes/luci-theme-argon 28 | rm -rf ./feeds/luci/applications/luci-app-wrtbwmon 29 | rm -rf ./feeds/packages/net/adguardhome 30 | rm -rf ./feeds/packages/net/smartdns 31 | rm -rf ./feeds/luci/applications/luci-app-mosdns 32 | rm -rf ./feeds/packages/net/mosdns 33 | # rm -rf ./package/openwrt-passwall/v2ray-geodata 34 | # rm -rf ./package/ssr/v2ray-geodata 35 | # svn co https://github.com/garypang13/openwrt-packages/trunk/shadowsocksr-libev package/lean/shadowsocksr-libev 36 | # svn co https://github.com/garypang13/openwrt-packages/trunk/luci-app-passwall feeds/passwall/luci-app-passwall 37 | # svn co https://github.com/garypang13/openwrt-packages/trunk/luci-app-ssr-plus feeds/helloworld/luci-app-ssr-plus 38 | # svn co https://github.com/garypang13/openwrt-packages/trunk/smartdns feeds/packages/net/smartdns 39 | # svn co https://github.com/Lienol/openwrt-packages/trunk/net/https-dns-proxy feeds/packages/net/https-dns-proxy 40 | # find package/*/ feeds/*/ -maxdepth 2 -path "*luci-app-bypass/Makefile" | xargs -i sed -i 's/shadowsocksr-libev-ssr-redir/shadowsocksr-libev-alt/g' {} 41 | # find package/*/ feeds/*/ -maxdepth 2 -path "*luci-app-bypass/Makefile" | xargs -i sed -i 's/shadowsocksr-libev-ssr-server/shadowsocksr-libev-server/g' {} 42 | # svn co https://github.com/project-openwrt/openwrt/trunk/package/lean/dnsforwarder package/lean/dnsforwarder 43 | # rm -rf feeds/packages/lang/golang 44 | # svn export https://github.com/sbwml/packages_lang_golang/branches/19.x feeds/packages/lang/golang 45 | -------------------------------------------------------------------------------- /diy4.19.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part1.sh 10 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 11 | # 12 | 13 | # Uncomment a feed source 14 | #sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | # Add a feed source 17 | #echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 18 | #echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default 19 | -------------------------------------------------------------------------------- /diy5.15.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #============================================================= 3 | # https://github.com/P3TERX/Actions-OpenWrt 4 | # File name: diy-part1.sh 5 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 6 | # Lisence: MIT 7 | # Author: P3TERX 8 | # Blog: https://p3terx.com 9 | #============================================================= 10 | 11 | sed -i 's/KERNEL_PATCHVER:=6.1/KERNEL_PATCHVER:=5.15/g' ./target/linux/x86/Makefile 12 | 13 | # Uncomment a feed source 14 | # sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | function merge_package(){ 17 | repo=`echo $1 | rev | cut -d'/' -f 1 | rev` 18 | pkg=`echo $2 | rev | cut -d'/' -f 1 | rev` 19 | # find package/ -follow -name $pkg -not -path "package/custom/*" | xargs -rt rm -rf 20 | git clone --depth=1 --single-branch $1 21 | mv $2 package/custom/ 22 | rm -rf $repo 23 | } 24 | function drop_package(){ 25 | find package/ -follow -name $1 -not -path "package/custom/*" | xargs -rt rm -rf 26 | } 27 | 28 | rm -rf package/custom; mkdir package/custom 29 | 30 | # Add a feed source 31 | # sed -i '$a src-git lienol https://github.com/Lienol/openwrt-package' feeds.conf.default 32 | # sed -i '$a src-git jerryk https://github.com/jerrykuku/openwrt-package' feeds.conf.default 33 | # sed -i '$a src-git bypass https://github.com/garypang13/openwrt-bypass' feeds.conf.default 34 | # mv -vf ../mt7621_phicomm_k2p.dts ./target/linux/ramips/dts/mt7621_phicomm_k2p.dts 35 | # git clone https://github.com/vernesong/OpenClash.git package/OpenClash 36 | merge_package https://github.com/messense/aliyundrive-webdav aliyundrive-webdav/openwrt applications/aliyundrive-webdav 37 | merge_package https://github.com/vernesong/OpenClash OpenClash/luci-app-openclash 38 | # svn co https://github.com/linkease/istore/trunk/luci/luci-app-store package/luci-app-store 39 | # svn co https://github.com/linkease/istore-ui/trunk/app-store-ui package/app-store-ui 40 | # git clone https://github.com/QiuSimons/openwrt-mos.git package/openwrt-mos 41 | # git clone https://github.com/sbwml/openwrt-alist.git package/openwrt-alist 42 | git clone https://github.com/thinktip/luci-theme-neobird.git package/luci-theme-neobird 43 | merge_package https://github.com/kiddin9/openwrt-packages openwrt-packages/luci-app-bypass 44 | git clone https://github.com/fw876/helloworld.git package/ssr 45 | git clone https://github.com/firker/diy-ziyong.git package/diy-ziyong 46 | git clone https://github.com/xiaorouji/openwrt-passwall-packages.git package/openwrt-passwall 47 | git clone https://github.com/xiaorouji/openwrt-passwall.git package/passwall 48 | git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git package/luci-theme-argon-18.06 49 | git clone -b 18.06 https://github.com/garypang13/luci-theme-edge.git package/luci-theme-edge 50 | git clone https://github.com/sirpdboy/luci-theme-opentopd.git package/luci-theme-opentopd 51 | git clone https://github.com/firkerword/luci-app-serverchan.git package/luci-app-serverchan 52 | git clone https://github.com/xiaorouji/openwrt-passwall2.git package/passwall2 53 | git clone https://github.com/firkerword/luci-app-lucky.git package/lucky 54 | find ./ | grep Makefile | grep v2ray-geodata | xargs rm -f 55 | find ./ | grep Makefile | grep mosdns | xargs rm -f 56 | git clone https://github.com/sbwml/luci-app-mosdns -b v5 package/mosdns 57 | # git clone https://github.com/gdy666/luci-app-lucky.git package/lucky 58 | # git clone https://github.com/project-lede/luci-app-godproxy.git package/luci-app-godproxy 59 | # git clone https://github.com/garypang13/luci-app-dnsfilter.git package/luci-app-dnsfilter 60 | # git clone https://github.com/BCYDTZ/luci-app-UUGameAcc.git package/luci-app-UUGameAcc 61 | # git clone https://github.com/yichya/luci-app-xray.git package/luci-app-xray 62 | find ./ | grep Makefile | grep xray-plugin | xargs rm -f 63 | merge_package https://github.com/fw876/helloworld helloworld/xray-core 64 | merge_package https://github.com/fw876/helloworld helloworld/xray-plugin 65 | -------------------------------------------------------------------------------- /diy5.4.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #============================================================= 3 | # https://github.com/P3TERX/Actions-OpenWrt 4 | # File name: diy-part1.sh 5 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 6 | # Lisence: MIT 7 | # Author: P3TERX 8 | # Blog: https://p3terx.com 9 | #============================================================= 10 | # git clone https://github.com/firker/neihe.git 11 | 12 | # mv -f neihe/Makefile ./target/linux/x86/Makefile 13 | sed -i 's/KERNEL_PATCHVER:=6.1/KERNEL_PATCHVER:=5.4/g' ./target/linux/x86/Makefile 14 | sed -i 's/KERNEL_PATCHVER:=5.15/KERNEL_PATCHVER:=5.4/g' ./target/linux/x86/Makefile 15 | # sed -i 's/KERNEL_TESTING_PATCHVER:=5.10/KERNEL_TESTING_PATCHVER:=5.4/g' ./target/linux/x86/Makefile 16 | 17 | # Uncomment a feed source 18 | # sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 19 | # Add a feed source 20 | # sed -i '$a src-git lienol https://github.com/Lienol/openwrt-package' feeds.conf.default 21 | sed -i '$a src-git jerryk https://github.com/jerrykuku/openwrt-package' feeds.conf.default 22 | svn co https://github.com/messense/aliyundrive-webdav/trunk/openwrt package/aliyundrive-webdav 23 | # sed -i '$a src-git bypass https://github.com/garypang13/openwrt-bypass' feeds.conf.default 24 | svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash 25 | # git clone https://github.com/QiuSimons/openwrt-mos.git package/openwrt-mos 26 | git clone https://github.com/sbwml/openwrt-alist.git package/openwrt-alist 27 | git clone https://github.com/thinktip/luci-theme-neobird.git package/luci-theme-neobird 28 | svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-bypass package/luci-app-bypass 29 | git clone https://github.com/fw876/helloworld.git package/ssr 30 | git clone https://github.com/firker/diy-ziyong.git package/diy-ziyong 31 | git clone https://github.com/xiaorouji/openwrt-passwall package/openwrt-passwall 32 | git clone -b luci https://github.com/xiaorouji/openwrt-passwall package/passwall 33 | git clone -b 18.06 https://github.com/garypang13/luci-theme-edge.git package/luci-theme-edge 34 | # git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git package/luci-theme-argon-18.06 35 | git clone https://github.com/firkerword/luci-theme-opentopd.git package/luci-theme-opentopd 36 | git clone https://github.com/tty228/luci-app-serverchan.git package/luci-app-serverchan 37 | git clone https://github.com/xiaorouji/openwrt-passwall2.git package/passwall2 38 | git clone https://github.com/QiuSimons/openwrt-mos.git package/openwrt-mos 39 | git clone -b lede https://github.com/pymumu/luci-app-smartdns.git package/luci-app-smartdns 40 | git clone https://github.com/immortalwrt/homeproxy.git package/luci-app-homeproxy 41 | git clone https://github.com/sirpdboy/luci-app-lucky.git package/lucky 42 | # git clone https://github.com/gdy666/luci-app-lucky.git package/lucky 43 | # git clone https://github.com/project-lede/luci-app-godproxy.git package/luci-app-godproxy 44 | # git clone https://github.com/garypang13/luci-app-dnsfilter.git package/luci-app-dnsfilter 45 | # git clone https://github.com/ITdesk01/jd_openwrt_script.git package/jd_openwrt_script 46 | -------------------------------------------------------------------------------- /diy6.0.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #============================================================= 3 | # https://github.com/P3TERX/Actions-OpenWrt 4 | # File name: diy-part1.sh 5 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 6 | # Lisence: MIT 7 | # Author: P3TERX 8 | # Blog: https://p3terx.com 9 | #============================================================= 10 | 11 | sed -i 's/KERNEL_PATCHVER:=6.6/KERNEL_PATCHVER:=6.12/g' ./target/linux/x86/Makefile 12 | sed -i '/openwrt-24.10/d' feeds.conf.default 13 | sed -i 's/^#\(.*luci\)/\1/' feeds.conf.default 14 | 15 | # Uncomment a feed source 16 | # sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 17 | 18 | function merge_package(){ 19 | repo=`echo $1 | rev | cut -d'/' -f 1 | rev` 20 | pkg=`echo $2 | rev | cut -d'/' -f 1 | rev` 21 | # find package/ -follow -name $pkg -not -path "package/custom/*" | xargs -rt rm -rf 22 | git clone --depth=1 --single-branch $1 23 | mv $2 package/custom/ 24 | rm -rf $repo 25 | } 26 | function drop_package(){ 27 | find package/ -follow -name $1 -not -path "package/custom/*" | xargs -rt rm -rf 28 | } 29 | 30 | rm -rf package/custom; mkdir package/custom 31 | 32 | # Add a feed source 33 | # sed -i '$a src-git lienol https://github.com/Lienol/openwrt-package' feeds.conf.default 34 | # sed -i '$a src-git jerryk https://github.com/jerrykuku/openwrt-package' feeds.conf.default 35 | # sed -i '$a src-git bypass https://github.com/garypang13/openwrt-bypass' feeds.conf.default 36 | # mv -vf ../mt7621_phicomm_k2p.dts ./target/linux/ramips/dts/mt7621_phicomm_k2p.dts 37 | # git clone https://github.com/vernesong/OpenClash.git package/OpenClash 38 | # git clone https://github.com/jerrykuku/luci-app-vssr.git package/luci-app-vssr 39 | # merge_package https://github.com/messense/aliyundrive-webdav aliyundrive-webdav/openwrt applications/aliyundrive-webdav 40 | merge_package https://github.com/vernesong/OpenClash OpenClash/luci-app-openclash 41 | # merge_package https://github.com/sirpdboy/sirpdboy-package sirpdboy-package/luci-app-smartdns 42 | # merge_package https://github.com/sirpdboy/sirpdboy-package sirpdboy-package/smartdns 43 | # git clone https://github.com/QiuSimons/openwrt-mos.git package/openwrt-mos 44 | git clone https://github.com/thinktip/luci-theme-neobird.git package/luci-theme-neobird 45 | # git clone https://github.com/sbwml/openwrt-alist.git package/openwrt-alist 46 | # svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-bypass package/luci-app-bypass 47 | git clone https://github.com/fw876/helloworld.git package/ssr 48 | git clone https://github.com/firker/diy-ziyong.git package/diy-ziyong 49 | git clone https://github.com/xiaorouji/openwrt-passwall-packages.git package/openwrt-passwall 50 | git clone https://github.com/xiaorouji/openwrt-passwall.git package/passwall 51 | # git clone -b lede https://github.com/pymumu/luci-app-smartdns.git package/luci-app-smartdns 52 | # git clone https://github.com/pymumu/openwrt-smartdns package/smartdns 53 | # git clone https://github.com/immortalwrt/homeproxy.git package/luci-app-homeproxy 54 | # git clone -b luci-smartdns-new-version https://github.com/xiaorouji/openwrt-passwall package/luci-app-passwall 55 | git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git package/luci-theme-argon-18.06 56 | git clone -b 18.06 https://github.com/garypang13/luci-theme-edge.git package/luci-theme-edge 57 | git clone https://github.com/sirpdboy/luci-theme-opentopd.git package/luci-theme-opentopd 58 | git clone https://github.com/zzsj0928/luci-app-pushbot package/luci-app-pushbot 59 | # git clone https://github.com/xiaorouji/openwrt-passwall2.git package/passwall2 60 | # git clone https://github.com/firkerword/luci-app-lucky.git package/lucky 61 | find ./ | grep Makefile | grep v2ray-geodata | xargs rm -f 62 | find ./ | grep Makefile | grep mosdns | xargs rm -f 63 | git clone https://github.com/sbwml/luci-app-mosdns -b v5-lua package/mosdns 64 | git clone https://github.com/gdy666/luci-app-lucky.git package/lucky 65 | # git clone https://github.com/project-lede/luci-app-godproxy.git package/luci-app-godproxy 66 | # git clone https://github.com/garypang13/luci-app-dnsfilter.git package/luci-app-dnsfilter 67 | # git clone https://github.com/BCYDTZ/luci-app-UUGameAcc.git package/luci-app-UUGameAcc 68 | # git clone https://github.com/yichya/luci-app-xray.git package/luci-app-xray 69 | 70 | 71 | -------------------------------------------------------------------------------- /files/etc/config/flowoffload: -------------------------------------------------------------------------------- 1 | 2 | config flow 3 | option dns '0' 4 | option bbr '0' 5 | option flow_offloading '0' 6 | 7 | -------------------------------------------------------------------------------- /files/etc/config/upnpd: -------------------------------------------------------------------------------- 1 | config upnpd config 2 | option enabled 0 3 | option enable_natpmp 1 4 | option enable_upnp 1 5 | option secure_mode 1 6 | option log_output 0 7 | option download 1024 8 | option upload 512 9 | #by default, looked up dynamically from ubus 10 | #option external_iface wan 11 | option internal_iface lan 12 | option port 5000 13 | option upnp_lease_file /var/upnp.leases 14 | 15 | config perm_rule 16 | option action allow 17 | option ext_ports 1024-65535 18 | option int_addr 0.0.0.0/0 # Does not override secure_mode 19 | option int_ports 1024-65535 20 | option comment "Allow high ports" 21 | 22 | config perm_rule 23 | option action deny 24 | option ext_ports 0-65535 25 | option int_addr 0.0.0.0/0 26 | option int_ports 0-65535 27 | option comment "Default deny" 28 | -------------------------------------------------------------------------------- /project2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #============================================================ 3 | # https://github.com/P3TERX/Actions-OpenWrt 4 | # File name: diy-part2.sh 5 | # Description: OpenWrt DIY script part 2 (After Update feeds) 6 | # Lisence: MIT 7 | # Author: P3TERX 8 | # Blog: https://p3terx.com 9 | #============================================================ 10 | 11 | # Modify default IP 12 | #sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate 13 | rm -rf ./package/ctcgfw/luci-app-adguardhome 14 | rm -rf ./package/ctcgfw/luci-theme-argon-mod 15 | rm -rf ./package/ctcgfw/luci-app-unblockneteasemusic 16 | rm -rf ./package/ctcgfw/luci-app-unblockneteasemusic-mini 17 | rm -rf ./package/lean/luci-theme-argon 18 | rm -rf ./package/lean/luci-app-unblockneteasemusic-go 19 | rm -rf ./package/ntlf9t/AdGuardHome 20 | rm -rf ./package/ntlf9t/luci-app-smartdns 21 | rm -rf ./package/ntlf9t/smartdns 22 | rm -rf ./package/ntlf9t/openwrt-udp2raw 23 | rm -rf ./package/ntlf9t/dnscrypt-proxy-full 24 | rm -rf ./feeds/packages/net/https-dns-proxy 25 | # curl -fsSL https://raw.githubusercontent.com/Lienol/openwrt-packages/dev-19.07/net/https-dns-proxy/files/https-dns-proxy.init > ./feeds/packages/net/https-dns-proxy/files/https-dns-proxy.init 26 | # wget https://raw.githubusercontent.com/Lienol/openwrt-packages/19.07/net/https-dns-proxy/files/https-dns-proxy.config -O ./feeds/packages/net/https-dns-proxy/files/https-dns-proxy.config 27 | # wget https://raw.githubusercontent.com/Lienol/openwrt-packages/19.07/net/https-dns-proxy/files/https-dns-proxy.init -O ./feeds/packages/net/https-dns-proxy/files/https-dns-proxy.init 28 | svn co https://github.com/Lienol/openwrt-packages/trunk/net/https-dns-proxy feeds/packages/net/https-dns-proxy 29 | --------------------------------------------------------------------------------