├── .github └── workflows │ ├── e8820s-biyuan-xiao.yml │ ├── e8820s-biyuan.yml │ ├── e8820s-kaiyuan.yml │ └── e8820s.yml ├── README.md ├── config ├── e8820s-biyuan-xiao.config ├── e8820s-biyuan.config ├── e8820s-kaiyuan.config └── e8820s.config └── script ├── diy-part1.sh ├── diy-part2.sh └── diy-part3.sh /.github/workflows/e8820s-biyuan-xiao.yml: -------------------------------------------------------------------------------- 1 | ## 2 | # 3 | # 感谢p3terx大神的一键编译脚本 4 | # 5 | # https://github.com/P3TERX/Actions-OpenWrt 6 | # Description: Build OpenWrt using GitHub Actions 7 | # 8 | #修改以下代码或者开启触发开关都好,要严格按格式对好,前面有多少空格也要看清楚 9 | #代码里有 name: 后面的内容随便改,冒号后面是有个空格的,如果修改固件名字就要考虑能不能显示出你想要的 10 | 11 | 12 | name: OpenWrt-E8820S 闭源精简固件 13 | 14 | on: 15 | release: 16 | types: [published] 17 | 18 | #编辑任意指定文件触发开始编译(去掉下面5个#开启,最下面一行是指定修改什么文件就触发编译,我现在是修改diy.config文件触发) 19 | # push: 20 | # branches: 21 | # - master 22 | # paths: 23 | # - '.config' 24 | 25 | 26 | #release发布触发开始编译(只是一个触发条件,不会发布的,又麻烦,没卵用,不用研究) 27 | # release: 28 | # types: published 29 | 30 | 31 | #定时触发开始编译(把下面两个#去掉开启,时间设置请看定时编译说明) 32 | # schedule: 33 | # - cron: 0 20 * * 6 34 | 35 | 36 | #点☆Star触发开始编译 37 | watch: 38 | types: started 39 | 40 | 41 | env: 42 | REPO_URL: https://github.com/coolsnowwolf/lede 43 | REPO_BRANCH: master 44 | FEEDS_CONF: feeds.conf.default 45 | CONFIG_FILE: config/e8820s-biyuan-xiao.config 46 | DIY_P1_SH: script/diy-part1.sh 47 | DIY_P2_SH: script/diy-part2.sh 48 | UPLOAD_BIN_DIR: true 49 | UPLOAD_FIRMWARE: true 50 | UPLOAD_COWTRANSFER: true 51 | UPLOAD_WETRANSFER: true 52 | UPLOAD_RELEASE: true 53 | TZ: Asia/Shanghai 54 | 55 | jobs: 56 | build: 57 | name: 编译OpenWrt-lede固件 58 | runs-on: ubuntu-20.04 59 | 60 | steps: 61 | - name: 准备结束 62 | uses: actions/checkout@main 63 | 64 | - name: 开始安装编译所需系统 65 | env: 66 | DEBIAN_FRONTEND: noninteractive 67 | run: | 68 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 69 | sudo -E apt-get -qq update 70 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 71 | sudo -E apt-get -qq autoremove --purge 72 | sudo -E apt-get -qq clean 73 | sudo timedatectl set-timezone "$TZ" 74 | sudo mkdir -p /workdir 75 | sudo chown $USER:$GROUPS /workdir 76 | - name: 下载固件源码 77 | working-directory: /workdir 78 | run: | 79 | df -hT $PWD 80 | git clone $REPO_URL -b $REPO_BRANCH openwrt 81 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 82 | - name: 加载Cache缓存 83 | uses: klever1988/cachewrtbuild@main 84 | with: 85 | ccache: 'true' 86 | prefix: ${{ github.workspace }}/openwrt 87 | - name: 加载feeds跟自定义插件 88 | run: | 89 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 90 | chmod +x $DIY_P1_SH 91 | cd openwrt 92 | $GITHUB_WORKSPACE/$DIY_P1_SH 93 | - name: 下载feeds跟安装自定义插件 94 | run: cd openwrt && ./scripts/feeds update -a 95 | 96 | - name: Install feeds 97 | run: cd openwrt && ./scripts/feeds install -a 98 | 99 | - name: 再次下载安装feeds 100 | run: | 101 | cd openwrt 102 | ./scripts/feeds update -a 103 | ./scripts/feeds install -a 104 | 105 | - name: 加载.config设置 106 | run: | 107 | [ -e files ] && mv files openwrt/files 108 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 109 | chmod +x $DIY_P2_SH 110 | cd openwrt 111 | $GITHUB_WORKSPACE/$DIY_P2_SH 112 | - name: SSH远程连接服务器配置固件 113 | uses: P3TERX/ssh2actions@v1.0.0 114 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 115 | env: 116 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 117 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 118 | - name: 下载软件包 119 | id: package 120 | run: | 121 | cd openwrt 122 | make defconfig 123 | make download -j8 124 | find dl -size -1024c -exec ls -l {} \; 125 | find dl -size -1024c -exec rm -f {} \; 126 | - name: 开始编译固件 127 | id: compile 128 | run: | 129 | cd openwrt 130 | echo -e "$(nproc) thread compile" 131 | make -j$(nproc) || make -j1 || make -j1 V=s 132 | echo "::set-output name=status::success" 133 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 134 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 135 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 136 | - name: 检查github储存空间情况 137 | if: (!cancelled()) 138 | run: df -hT 139 | 140 | - name: 上传bin文件夹(固件+ipk)在github空间 141 | uses: actions/upload-artifact@main 142 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 143 | with: 144 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 145 | path: openwrt/bin 146 | 147 | - name: 整理固件文件夹 148 | id: organize 149 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 150 | run: | 151 | cd openwrt/bin/targets/*/* 152 | rm -rf packages 153 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 154 | echo "::set-output name=status::success" 155 | 156 | - name: 上传.config配置文件在github空间 157 | if: steps.organizer.outputs.status == 'success' && env.UPLOAD_CONFIG == 'true' 158 | uses: actions/upload-artifact@main 159 | with: 160 | name: config.buildinfo_${{ env.FILE_DATE }} 161 | path: ./config 162 | 163 | - name: 上传固件在github空间 164 | uses: actions/upload-artifact@main 165 | if: steps.organize.outputs.status == 'success' && !cancelled() 166 | with: 167 | name: E8820S-xiao 168 | path: ${{ env.FIRMWARE }} 169 | 170 | - name: 上传固件到奶牛快传 171 | id: cowtransfer 172 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 173 | run: | 174 | curl -fsSL git.io/file-transfer | sh 175 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 176 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 177 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 178 | - name: 上传固件到WeTransfer 179 | id: wetransfer 180 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 181 | run: | 182 | curl -fsSL git.io/file-transfer | sh 183 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 184 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 185 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 186 | - name: 创建 release tag 187 | id: tag 188 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 189 | run: | 190 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 191 | touch release.txt 192 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 193 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 194 | echo "::set-output name=status::success" 195 | 196 | - name: 上传固件到release 197 | uses: softprops/action-gh-release@v1 198 | if: steps.tag.outputs.status == 'success' && !cancelled() 199 | env: 200 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 201 | with: 202 | tag_name: ${{ steps.tag.outputs.release_tag }} 203 | body_path: release.txt 204 | files: ${{ env.FIRMWARE }}/* 205 | 206 | - name: 移除旧文件 207 | uses: c-hive/gha-remove-artifacts@v1.2.0 208 | with: 209 | age: '1 day' 210 | skip-recent: 3 211 | 212 | - name: 移除以前的Releases 213 | uses: dev-drprasad/delete-older-releases@v0.1.0 214 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 215 | with: 216 | keep_latest: 3 217 | delete_tags: true 218 | env: 219 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 220 | -------------------------------------------------------------------------------- /.github/workflows/e8820s-biyuan.yml: -------------------------------------------------------------------------------- 1 | ## 2 | # 3 | # 感谢p3terx大神的一键编译脚本 4 | # 5 | # https://github.com/P3TERX/Actions-OpenWrt 6 | # Description: Build OpenWrt using GitHub Actions 7 | # 8 | #修改以下代码或者开启触发开关都好,要严格按格式对好,前面有多少空格也要看清楚 9 | #代码里有 name: 后面的内容随便改,冒号后面是有个空格的,如果修改固件名字就要考虑能不能显示出你想要的 10 | 11 | 12 | name: OpenWrt-E8820S 闭源固件 13 | 14 | on: 15 | release: 16 | types: [published] 17 | 18 | #编辑任意指定文件触发开始编译(去掉下面5个#开启,最下面一行是指定修改什么文件就触发编译,我现在是修改diy.config文件触发) 19 | # push: 20 | # branches: 21 | # - master 22 | # paths: 23 | # - '.config' 24 | 25 | 26 | #release发布触发开始编译(只是一个触发条件,不会发布的,又麻烦,没卵用,不用研究) 27 | # release: 28 | # types: published 29 | 30 | 31 | #定时触发开始编译(把下面两个#去掉开启,时间设置请看定时编译说明) 32 | # schedule: 33 | # - cron: 0 20 * * 6 34 | 35 | 36 | #点☆Star触发开始编译 37 | watch: 38 | types: started 39 | 40 | 41 | env: 42 | REPO_URL: https://github.com/coolsnowwolf/lede 43 | REPO_BRANCH: master 44 | FEEDS_CONF: feeds.conf.default 45 | CONFIG_FILE: config/e8820s-biyuan.config 46 | DIY_P1_SH: script/diy-part1.sh 47 | DIY_P2_SH: script/diy-part2.sh 48 | UPLOAD_BIN_DIR: true 49 | UPLOAD_FIRMWARE: true 50 | UPLOAD_COWTRANSFER: true 51 | UPLOAD_WETRANSFER: true 52 | UPLOAD_RELEASE: true 53 | TZ: Asia/Shanghai 54 | 55 | jobs: 56 | build: 57 | name: 编译OpenWrt-lede固件 58 | runs-on: ubuntu-20.04 59 | 60 | steps: 61 | - name: 准备结束 62 | uses: actions/checkout@main 63 | 64 | - name: 开始安装编译所需系统 65 | env: 66 | DEBIAN_FRONTEND: noninteractive 67 | run: | 68 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 69 | sudo -E apt-get -qq update 70 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 71 | sudo -E apt-get -qq autoremove --purge 72 | sudo -E apt-get -qq clean 73 | sudo timedatectl set-timezone "$TZ" 74 | sudo mkdir -p /workdir 75 | sudo chown $USER:$GROUPS /workdir 76 | - name: 下载固件源码 77 | working-directory: /workdir 78 | run: | 79 | df -hT $PWD 80 | git clone $REPO_URL -b $REPO_BRANCH openwrt 81 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 82 | - name: 加载Cache缓存 83 | uses: klever1988/cachewrtbuild@main 84 | with: 85 | ccache: 'true' 86 | prefix: ${{ github.workspace }}/openwrt 87 | - name: 加载feeds跟自定义插件 88 | run: | 89 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 90 | chmod +x $DIY_P1_SH 91 | cd openwrt 92 | $GITHUB_WORKSPACE/$DIY_P1_SH 93 | - name: 下载feeds跟安装自定义插件 94 | run: cd openwrt && ./scripts/feeds update -a 95 | 96 | - name: Install feeds 97 | run: cd openwrt && ./scripts/feeds install -a 98 | 99 | - name: 再次下载安装feeds 100 | run: | 101 | cd openwrt 102 | ./scripts/feeds update -a 103 | ./scripts/feeds install -a 104 | 105 | - name: 加载.config设置 106 | run: | 107 | [ -e files ] && mv files openwrt/files 108 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 109 | chmod +x $DIY_P2_SH 110 | cd openwrt 111 | $GITHUB_WORKSPACE/$DIY_P2_SH 112 | - name: SSH远程连接服务器配置固件 113 | uses: P3TERX/ssh2actions@v1.0.0 114 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 115 | env: 116 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 117 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 118 | - name: 下载软件包 119 | id: package 120 | run: | 121 | cd openwrt 122 | make defconfig 123 | make download -j8 124 | find dl -size -1024c -exec ls -l {} \; 125 | find dl -size -1024c -exec rm -f {} \; 126 | - name: 开始编译固件 127 | id: compile 128 | run: | 129 | cd openwrt 130 | echo -e "$(nproc) thread compile" 131 | make -j$(nproc) || make -j1 || make -j1 V=s 132 | echo "::set-output name=status::success" 133 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 134 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 135 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 136 | - name: 检查github储存空间情况 137 | if: (!cancelled()) 138 | run: df -hT 139 | 140 | - name: 上传bin文件夹(固件+ipk)在github空间 141 | uses: actions/upload-artifact@main 142 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 143 | with: 144 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 145 | path: openwrt/bin 146 | 147 | - name: 整理固件文件夹 148 | id: organize 149 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 150 | run: | 151 | cd openwrt/bin/targets/*/* 152 | rm -rf packages 153 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 154 | echo "::set-output name=status::success" 155 | 156 | - name: 上传.config配置文件在github空间 157 | if: steps.organizer.outputs.status == 'success' && env.UPLOAD_CONFIG == 'true' 158 | uses: actions/upload-artifact@main 159 | with: 160 | name: config.buildinfo_${{ env.FILE_DATE }} 161 | path: ./config 162 | 163 | - name: 上传固件在github空间 164 | uses: actions/upload-artifact@main 165 | if: steps.organize.outputs.status == 'success' && !cancelled() 166 | with: 167 | name: E8820S 168 | path: ${{ env.FIRMWARE }} 169 | 170 | - name: 上传固件到奶牛快传 171 | id: cowtransfer 172 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 173 | run: | 174 | curl -fsSL git.io/file-transfer | sh 175 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 176 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 177 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 178 | - name: 上传固件到WeTransfer 179 | id: wetransfer 180 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 181 | run: | 182 | curl -fsSL git.io/file-transfer | sh 183 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 184 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 185 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 186 | - name: 创建 release tag 187 | id: tag 188 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 189 | run: | 190 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 191 | touch release.txt 192 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 193 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 194 | echo "::set-output name=status::success" 195 | 196 | - name: 上传固件到release 197 | uses: softprops/action-gh-release@v1 198 | if: steps.tag.outputs.status == 'success' && !cancelled() 199 | env: 200 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 201 | with: 202 | tag_name: ${{ steps.tag.outputs.release_tag }} 203 | body_path: release.txt 204 | files: ${{ env.FIRMWARE }}/* 205 | 206 | - name: 移除旧文件 207 | uses: c-hive/gha-remove-artifacts@v1.2.0 208 | with: 209 | age: '1 day' 210 | skip-recent: 3 211 | 212 | - name: 移除以前的Releases 213 | uses: dev-drprasad/delete-older-releases@v0.1.0 214 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 215 | with: 216 | keep_latest: 3 217 | delete_tags: true 218 | env: 219 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 220 | -------------------------------------------------------------------------------- /.github/workflows/e8820s-kaiyuan.yml: -------------------------------------------------------------------------------- 1 | ## 2 | # 3 | # 感谢p3terx大神的一键编译脚本 4 | # 5 | # https://github.com/P3TERX/Actions-OpenWrt 6 | # Description: Build OpenWrt using GitHub Actions 7 | # 8 | #修改以下代码或者开启触发开关都好,要严格按格式对好,前面有多少空格也要看清楚 9 | #代码里有 name: 后面的内容随便改,冒号后面是有个空格的,如果修改固件名字就要考虑能不能显示出你想要的 10 | 11 | 12 | name: OpenWrt-E8820S 开源固件 13 | 14 | on: 15 | release: 16 | types: [published] 17 | 18 | #编辑任意指定文件触发开始编译(去掉下面5个#开启,最下面一行是指定修改什么文件就触发编译,我现在是修改diy.config文件触发) 19 | # push: 20 | # branches: 21 | # - master 22 | # paths: 23 | # - '.config' 24 | 25 | 26 | #release发布触发开始编译(只是一个触发条件,不会发布的,又麻烦,没卵用,不用研究) 27 | # release: 28 | # types: published 29 | 30 | 31 | #定时触发开始编译(把下面两个#去掉开启,时间设置请看定时编译说明) 32 | # schedule: 33 | # - cron: 0 20 * * 6 34 | 35 | 36 | #点☆Star触发开始编译 37 | watch: 38 | types: started 39 | 40 | 41 | env: 42 | REPO_URL: https://github.com/coolsnowwolf/lede 43 | REPO_BRANCH: master 44 | FEEDS_CONF: feeds.conf.default 45 | CONFIG_FILE: config/e8820s-kaiyuan.config 46 | DIY_P1_SH: script/diy-part1.sh 47 | DIY_P2_SH: script/diy-part2.sh 48 | UPLOAD_BIN_DIR: false 49 | UPLOAD_FIRMWARE: true 50 | UPLOAD_COWTRANSFER: true 51 | UPLOAD_WETRANSFER: true 52 | UPLOAD_RELEASE: true 53 | TZ: Asia/Shanghai 54 | 55 | jobs: 56 | build: 57 | name: 编译OpenWrt-lede固件 58 | runs-on: ubuntu-20.04 59 | 60 | steps: 61 | - name: 准备结束 62 | uses: actions/checkout@main 63 | 64 | - name: 开始安装编译所需系统 65 | env: 66 | DEBIAN_FRONTEND: noninteractive 67 | run: | 68 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 69 | sudo -E apt-get -qq update 70 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 71 | sudo -E apt-get -qq autoremove --purge 72 | sudo -E apt-get -qq clean 73 | sudo timedatectl set-timezone "$TZ" 74 | sudo mkdir -p /workdir 75 | sudo chown $USER:$GROUPS /workdir 76 | - name: 下载固件源码 77 | working-directory: /workdir 78 | run: | 79 | df -hT $PWD 80 | git clone $REPO_URL -b $REPO_BRANCH openwrt 81 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 82 | - name: 加载Cache缓存 83 | uses: klever1988/cachewrtbuild@main 84 | with: 85 | ccache: 'true' 86 | prefix: ${{ github.workspace }}/openwrt 87 | - name: 加载feeds跟自定义插件 88 | run: | 89 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 90 | chmod +x $DIY_P1_SH 91 | cd openwrt 92 | $GITHUB_WORKSPACE/$DIY_P1_SH 93 | - name: 下载feeds跟安装自定义插件 94 | run: cd openwrt && ./scripts/feeds update -a 95 | 96 | - name: Install feeds 97 | run: cd openwrt && ./scripts/feeds install -a 98 | 99 | - name: 再次下载安装feeds 100 | run: | 101 | cd openwrt 102 | ./scripts/feeds update -a 103 | ./scripts/feeds install -a 104 | 105 | - name: 加载.config设置 106 | run: | 107 | [ -e files ] && mv files openwrt/files 108 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 109 | chmod +x $DIY_P2_SH 110 | cd openwrt 111 | $GITHUB_WORKSPACE/$DIY_P2_SH 112 | - name: SSH远程连接服务器配置固件 113 | uses: P3TERX/ssh2actions@v1.0.0 114 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 115 | env: 116 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 117 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 118 | - name: 下载软件包 119 | id: package 120 | run: | 121 | cd openwrt 122 | make defconfig 123 | make download -j8 124 | find dl -size -1024c -exec ls -l {} \; 125 | find dl -size -1024c -exec rm -f {} \; 126 | - name: 开始编译固件 127 | id: compile 128 | run: | 129 | cd openwrt 130 | echo -e "$(nproc) thread compile" 131 | make -j$(nproc) || make -j1 || make -j1 V=s 132 | echo "::set-output name=status::success" 133 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 134 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 135 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 136 | - name: 检查github储存空间情况 137 | if: (!cancelled()) 138 | run: df -hT 139 | 140 | - name: 上传bin文件夹(固件+ipk)在github空间 141 | uses: actions/upload-artifact@main 142 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 143 | with: 144 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 145 | path: openwrt/bin 146 | 147 | - name: 整理固件文件夹 148 | id: organize 149 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 150 | run: | 151 | cd openwrt/bin/targets/*/* 152 | rm -rf packages 153 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 154 | echo "::set-output name=status::success" 155 | 156 | - name: 上传.config配置文件在github空间 157 | if: steps.organizer.outputs.status == 'success' && env.UPLOAD_CONFIG == 'true' 158 | uses: actions/upload-artifact@main 159 | with: 160 | name: config.buildinfo_${{ env.FILE_DATE }} 161 | path: ./config 162 | 163 | - name: 上传固件在github空间 164 | uses: actions/upload-artifact@main 165 | if: steps.organize.outputs.status == 'success' && !cancelled() 166 | with: 167 | name: E8820S开源固件 168 | path: ${{ env.FIRMWARE }} 169 | 170 | - name: 上传固件到奶牛快传 171 | id: cowtransfer 172 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 173 | run: | 174 | curl -fsSL git.io/file-transfer | sh 175 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 176 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 177 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 178 | - name: 上传固件到WeTransfer 179 | id: wetransfer 180 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 181 | run: | 182 | curl -fsSL git.io/file-transfer | sh 183 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 184 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 185 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 186 | - name: 创建 release tag 187 | id: tag 188 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 189 | run: | 190 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 191 | touch release.txt 192 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 193 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 194 | echo "::set-output name=status::success" 195 | 196 | - name: 上传固件到release 197 | uses: softprops/action-gh-release@v1 198 | if: steps.tag.outputs.status == 'success' && !cancelled() 199 | env: 200 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 201 | with: 202 | tag_name: ${{ steps.tag.outputs.release_tag }} 203 | body_path: release.txt 204 | files: ${{ env.FIRMWARE }}/* 205 | 206 | - name: 移除旧文件 207 | uses: c-hive/gha-remove-artifacts@v1.2.0 208 | with: 209 | age: '1 day' 210 | skip-recent: 3 211 | 212 | - name: 移除以前的Releases 213 | uses: dev-drprasad/delete-older-releases@v0.1.0 214 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 215 | with: 216 | keep_latest: 3 217 | delete_tags: true 218 | env: 219 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 220 | -------------------------------------------------------------------------------- /.github/workflows/e8820s.yml: -------------------------------------------------------------------------------- 1 | ## 2 | # 3 | # 感谢p3terx大神的一键编译脚本 4 | # 5 | # https://github.com/P3TERX/Actions-OpenWrt 6 | # Description: Build OpenWrt using GitHub Actions 7 | # 8 | #修改以下代码或者开启触发开关都好,要严格按格式对好,前面有多少空格也要看清楚 9 | #代码里有 name: 后面的内容随便改,冒号后面是有个空格的,如果修改固件名字就要考虑能不能显示出你想要的 10 | 11 | 12 | name: OpenWrt-E8820S 闭源超精简固件5.10 13 | 14 | on: 15 | release: 16 | types: [published] 17 | 18 | #编辑任意指定文件触发开始编译(去掉下面5个#开启,最下面一行是指定修改什么文件就触发编译,我现在是修改diy.config文件触发) 19 | # push: 20 | # branches: 21 | # - master 22 | # paths: 23 | # - '.config' 24 | 25 | 26 | #release发布触发开始编译(只是一个触发条件,不会发布的,又麻烦,没卵用,不用研究) 27 | # release: 28 | # types: published 29 | 30 | 31 | #定时触发开始编译(把下面两个#去掉开启,时间设置请看定时编译说明) 32 | # schedule: 33 | # - cron: 0 20 * * 6 34 | 35 | 36 | #点☆Star触发开始编译 37 | watch: 38 | types: started 39 | 40 | 41 | env: 42 | REPO_URL: https://github.com/coolsnowwolf/lede 43 | REPO_BRANCH: master 44 | FEEDS_CONF: feeds.conf.default 45 | CONFIG_FILE: config/e8820s.config 46 | DIY_P1_SH: script/diy-part1.sh 47 | DIY_P2_SH: script/diy-part3.sh 48 | UPLOAD_BIN_DIR: true 49 | UPLOAD_FIRMWARE: true 50 | UPLOAD_COWTRANSFER: true 51 | UPLOAD_WETRANSFER: true 52 | UPLOAD_RELEASE: true 53 | TZ: Asia/Shanghai 54 | 55 | jobs: 56 | build: 57 | name: 编译OpenWrt-lede固件 58 | runs-on: ubuntu-20.04 59 | 60 | steps: 61 | - name: 准备结束 62 | uses: actions/checkout@main 63 | 64 | - name: 开始安装编译所需系统 65 | env: 66 | DEBIAN_FRONTEND: noninteractive 67 | run: | 68 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 69 | sudo -E apt-get -qq update 70 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 71 | sudo -E apt-get -qq autoremove --purge 72 | sudo -E apt-get -qq clean 73 | sudo timedatectl set-timezone "$TZ" 74 | sudo mkdir -p /workdir 75 | sudo chown $USER:$GROUPS /workdir 76 | - name: 下载固件源码 77 | working-directory: /workdir 78 | run: | 79 | df -hT $PWD 80 | git clone $REPO_URL -b $REPO_BRANCH openwrt 81 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 82 | - name: 加载Cache缓存 83 | uses: klever1988/cachewrtbuild@main 84 | with: 85 | ccache: 'true' 86 | prefix: ${{ github.workspace }}/openwrt 87 | - name: 加载feeds跟自定义插件 88 | run: | 89 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 90 | chmod +x $DIY_P1_SH 91 | cd openwrt 92 | $GITHUB_WORKSPACE/$DIY_P1_SH 93 | - name: 下载feeds跟安装自定义插件 94 | run: cd openwrt && ./scripts/feeds update -a 95 | 96 | - name: Install feeds 97 | run: cd openwrt && ./scripts/feeds install -a 98 | 99 | - name: 再次下载安装feeds 100 | run: | 101 | cd openwrt 102 | ./scripts/feeds update -a 103 | ./scripts/feeds install -a 104 | 105 | - name: 加载.config设置 106 | run: | 107 | [ -e files ] && mv files openwrt/files 108 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 109 | chmod +x $DIY_P2_SH 110 | cd openwrt 111 | $GITHUB_WORKSPACE/$DIY_P2_SH 112 | - name: SSH远程连接服务器配置固件 113 | uses: P3TERX/ssh2actions@v1.0.0 114 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 115 | env: 116 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 117 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 118 | - name: 下载软件包 119 | id: package 120 | run: | 121 | cd openwrt 122 | make defconfig 123 | make download -j8 124 | find dl -size -1024c -exec ls -l {} \; 125 | find dl -size -1024c -exec rm -f {} \; 126 | - name: 开始编译固件 127 | id: compile 128 | run: | 129 | cd openwrt 130 | echo -e "$(nproc) thread compile" 131 | make -j$(nproc) || make -j1 || make -j1 V=s 132 | echo "::set-output name=status::success" 133 | grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME 134 | [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV 135 | echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV 136 | - name: 检查github储存空间情况 137 | if: (!cancelled()) 138 | run: df -hT 139 | 140 | - name: 上传bin文件夹(固件+ipk)在github空间 141 | uses: actions/upload-artifact@main 142 | if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_DIR == 'true' 143 | with: 144 | name: OpenWrt_bin${{ env.DEVICE_NAME }}${{ env.FILE_DATE }} 145 | path: openwrt/bin 146 | 147 | - name: 整理固件文件夹 148 | id: organize 149 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 150 | run: | 151 | cd openwrt/bin/targets/*/* 152 | rm -rf packages 153 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 154 | echo "::set-output name=status::success" 155 | 156 | - name: 上传.config配置文件在github空间 157 | if: steps.organizer.outputs.status == 'success' && env.UPLOAD_CONFIG == 'true' 158 | uses: actions/upload-artifact@main 159 | with: 160 | name: config.buildinfo_${{ env.FILE_DATE }} 161 | path: ./config 162 | 163 | - name: 上传固件在github空间 164 | uses: actions/upload-artifact@main 165 | if: steps.organize.outputs.status == 'success' && !cancelled() 166 | with: 167 | name: E8820S-超精简5.10 168 | path: ${{ env.FIRMWARE }} 169 | 170 | - name: 上传固件到奶牛快传 171 | id: cowtransfer 172 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_COWTRANSFER == 'true' && !cancelled() 173 | run: | 174 | curl -fsSL git.io/file-transfer | sh 175 | ./transfer cow --block 2621440 -s -p 64 --no-progress ${FIRMWARE} 2>&1 | tee cowtransfer.log 176 | echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)" 177 | echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")" 178 | - name: 上传固件到WeTransfer 179 | id: wetransfer 180 | if: steps.organize.outputs.status == 'success' && env.UPLOAD_WETRANSFER == 'true' && !cancelled() 181 | run: | 182 | curl -fsSL git.io/file-transfer | sh 183 | ./transfer wet -s -p 16 --no-progress ${FIRMWARE} 2>&1 | tee wetransfer.log 184 | echo "::warning file=wetransfer.com::$(cat wetransfer.log | grep https)" 185 | echo "::set-output name=url::$(cat wetransfer.log | grep https | cut -f3 -d" ")" 186 | - name: 创建 release tag 187 | id: tag 188 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 189 | run: | 190 | echo "::set-output name=release_tag::$(date +"%Y.%m.%d-%H%M")" 191 | touch release.txt 192 | [ $UPLOAD_COWTRANSFER = true ] && echo "🔗 [Cowtransfer](${{ steps.cowtransfer.outputs.url }})" >> release.txt 193 | [ $UPLOAD_WETRANSFER = true ] && echo "🔗 [WeTransfer](${{ steps.wetransfer.outputs.url }})" >> release.txt 194 | echo "::set-output name=status::success" 195 | 196 | - name: 上传固件到release 197 | uses: softprops/action-gh-release@v1 198 | if: steps.tag.outputs.status == 'success' && !cancelled() 199 | env: 200 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 201 | with: 202 | tag_name: ${{ steps.tag.outputs.release_tag }} 203 | body_path: release.txt 204 | files: ${{ env.FIRMWARE }}/* 205 | 206 | - name: 移除旧文件 207 | uses: c-hive/gha-remove-artifacts@v1.2.0 208 | with: 209 | age: '1 day' 210 | skip-recent: 3 211 | 212 | - name: 移除以前的Releases 213 | uses: dev-drprasad/delete-older-releases@v0.1.0 214 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 215 | with: 216 | keep_latest: 3 217 | delete_tags: true 218 | env: 219 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 220 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ZTE-E8820S 2 | # NANCHUCI 3 | 4 | 新增了E8820S的配置文件,此脚本自动编译我修改Lede源码的E8820S固件。 5 | 采用B70的内存分区参数,所以用B70的breed直接刷入factory.bin固件就行。 6 | 可以使用我适配的文件和此修改脚本自己编译使用,但是如果发布必须注明出处与署名。 7 | 没有我本人的授权,不能使用我编写的配置文件用于固件的商业用途。 8 | 9 | 10 | 多插件固件,先刷initramfs-kernel固件,再路由器web页面升级,如自动重启不成功,请手动关机重启! 11 | -------------------------------------------------------------------------------- /config/e8820s-biyuan-xiao.config: -------------------------------------------------------------------------------- 1 | # 2 | # 机型选择 3 | # 4 | CONFIG_TARGET_ramips=y 5 | CONFIG_TARGET_ramips_mt7621=y 6 | CONFIG_TARGET_ramips_mt7621_DEVICE_zte_e8820s=y 7 | 8 | # 9 | # IPV6支持 10 | # 11 | CONFIG_IPV6=y 12 | CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y 13 | CONFIG_PACKAGE_ipv6helper=y 14 | CONFIG_PACKAGE_odhcp6c=y 15 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 16 | CONFIG_PACKAGE_odhcpd-ipv6only=y 17 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 18 | CONFIG_PACKAGE_luci-proto-ipv6=y 19 | CONFIG_PACKAGE_kmod-ipt-nat6=y 20 | CONFIG_PACKAGE_ipv6helper=y 21 | CONFIG_PACKAGE_kmod-ip6tables=y 22 | CONFIG_PACKAGE_kmod-ip6tables-extra=y 23 | CONFIG_PACKAGE_iputils-traceroute6=y 24 | CONFIG_PACKAGE_6in4=y 25 | 26 | # 27 | # samba扩展 28 | # 29 | CONFIG_PACKAGE_autosamba=y 30 | #CONFIG_PACKAGE_samba36-server is not set 31 | 32 | # 33 | # USB与存储相关支持 34 | # 35 | CONFIG_PACKAGE_automount=y 36 | CONFIG_PACKAGE_kmod-fs-qntfs=y 37 | CONFIG_PACKAGE_kmod-scsi-core=y 38 | CONFIG_PACKAGE_kmod-fs-exfat=y 39 | CONFIG_PACKAGE_kmod-fs-ext4=y 40 | CONFIG_PACKAGE_ntfs-3g=y 41 | CONFIG_PACKAGE_kmod-fs-vfat=y 42 | CONFIG_PACKAGE_kmod-fuse=y 43 | CONFIG_PACKAGE_kmod-mtd-rw=y 44 | CONFIG_PACKAGE_kmod-mmc=y 45 | CONFIG_PACKAGE_kmod-sdhci=y 46 | CONFIG_PACKAGE_kmod-mmc-spi=n 47 | CONFIG_PACKAGE_kmod-usb-core=y 48 | CONFIG_PACKAGE_kmod-usb-dwc3=y 49 | CONFIG_PACKAGE_kmod-usb-dwc3-of-simple=y 50 | CONFIG_PACKAGE_kmod-usb-ehci=y 51 | CONFIG_PACKAGE_kmod-usb-ohci=y 52 | CONFIG_PACKAGE_kmod-usb-printer=y 53 | CONFIG_PACKAGE_kmod-usb-storage=y 54 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 55 | CONFIG_PACKAGE_kmod-usb-uhci=y 56 | CONFIG_PACKAGE_kmod-usb2=y 57 | CONFIG_PACKAGE_kmod-usb3=y 58 | 59 | # 60 | # 插件集成 61 | # 62 | CONFIG_PACKAGE_luci-app-accesscontrol=y 63 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 64 | CONFIG_PACKAGE_luci-app-adguardhome=y #adguard home 65 | CONFIG_PACKAGE_luci-app-airplay2=y 66 | CONFIG_PACKAGE_luci-app-aria2=y 67 | CONFIG_PACKAGE_luci-app-arpbind=y 68 | CONFIG_PACKAGE_luci-app-autoreboot=y 69 | CONFIG_PACKAGE_luci-app-cifsd=n 70 | CONFIG_PACKAGE_luci-app-ddns=y 71 | CONFIG_PACKAGE_luci-app-dnspod=n 72 | CONFIG_PACKAGE_luci-app-dnsforwarder=n 73 | CONFIG_PACKAGE_luci-app-dnsfilter=y 74 | CONFIG_PACKAGE_luci-app-familycloud=y 75 | CONFIG_PACKAGE_luci-app-filetransfer=y 76 | CONFIG_PACKAGE_luci-app-firewall=y 77 | CONFIG_PACKAGE_luci-app-flowoffload=y 78 | CONFIG_PACKAGE_luci-app-frpc=n 79 | CONFIG_PACKAGE_luci-app-guest-wifi=y 80 | CONFIG_PACKAGE_luci-app-hd-idle=y 81 | CONFIG_PACKAGE_luci-app-ipsec-vpnd=n 82 | CONFIG_PACKAGE_luci-app-jd-dailybonus=y 83 | CONFIG_PACKAGE_luci-app-mwan3=y 84 | CONFIG_PACKAGE_luci-app-mwan3helper=y 85 | CONFIG_PACKAGE_luci-app-nlbwmon=y 86 | CONFIG_PACKAGE_luci-app-pptp-server=n 87 | CONFIG_PACKAGE_luci-app-ramfree=y 88 | CONFIG_PACKAGE_luci-app-samba=y 89 | CONFIG_PACKAGE_luci-app-serverchan=y 90 | CONFIG_PACKAGE_luci-app-shairplay=y 91 | CONFIG_PACKAGE_luci-app-sqm=n 92 | CONFIG_PACKAGE_luci-app-ssr-plus=n 93 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 94 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=n 95 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 96 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=n 97 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=n 98 | CONFIG_PACKAGE_luci-app-syncdial=y 99 | CONFIG_PACKAGE_luci-app-transmission=y 100 | CONFIG_PACKAGE_luci-app-ttyd=y 101 | CONFIG_PACKAGE_luci-app-uhttpd=n 102 | CONFIG_PACKAGE_luci-app-unblockmusic=y 103 | CONFIG_PACKAGE_luci-app-upnp=y 104 | CONFIG_PACKAGE_luci-app-usb-printer=y 105 | CONFIG_PACKAGE_luci-app-uugamebooster=y 106 | CONFIG_PACKAGE_luci-app-v2ray-server=n 107 | CONFIG_PACKAGE_luci-app-vlmcsd=y 108 | CONFIG_PACKAGE_luci-app-webadmin=y 109 | CONFIG_PACKAGE_luci-app-vsftpd=y 110 | CONFIG_PACKAGE_luci-app-watchcat=y 111 | CONFIG_PACKAGE_luci-app-wifischedule=y 112 | CONFIG_PACKAGE_luci-app-wrtbwmon=y 113 | CONFIG_PACKAGE_luci-app-wol=y 114 | CONFIG_PACKAGE_luci-app-xlnetacc=y 115 | CONFIG_PACKAGE_luci-app-zerotier=y 116 | CONFIG_PACKAGE_luci-app-diskman=y 117 | CONFIG_PACKAGE_htop=y 118 | CONFIG_PACKAGE_iperf3=y 119 | CONFIG_PACKAGE_tcpdump=y 120 | # CONFIG_PACKAGE_qBittorrent is not set 121 | # CONFIG_DEFAULT_luci-app-qbittorrent is not set 122 | 123 | # 124 | # 主题 125 | # 126 | CONFIG_PACKAGE_luci-theme-argon=y 127 | CONFIG_PACKAGE_luci-theme-bootstrap=n 128 | 129 | # 130 | # 基础命令及其他 131 | # 132 | CONFIG_KERNEL_MIPS_FPU_EMULATOR=y 133 | CONFIG_PACKAGE_autocore-switch=y 134 | CONFIG_PACKAGE_natflow-boot=y 135 | CONFIG_PACKAGE_kmod-ipt-offload=y 136 | -------------------------------------------------------------------------------- /config/e8820s-biyuan.config: -------------------------------------------------------------------------------- 1 | # 2 | CONFIG_TARGET_ramips=y 3 | CONFIG_TARGET_ramips_mt7621=y 4 | CONFIG_TARGET_ramips_mt7621_DEVICE_zte_e8820s=y 5 | # 6 | CONFIG_ARIA2_BITTORRENT=y 7 | CONFIG_ARIA2_NOXML=y 8 | CONFIG_ARIA2_OPENSSL=y 9 | CONFIG_ARIA2_WEBSOCKET=y 10 | CONFIG_KSMBD_SMB_INSECURE_SERVER=y 11 | CONFIG_LIBCURL_COOKIES=y 12 | CONFIG_LIBCURL_FILE=y 13 | CONFIG_LIBCURL_FTP=y 14 | CONFIG_LIBCURL_HTTP=y 15 | CONFIG_LIBCURL_NO_SMB="!" 16 | CONFIG_LIBCURL_OPENSSL=y 17 | CONFIG_LIBCURL_PROXY=y 18 | CONFIG_NGINX_HEADERS_MORE=y 19 | CONFIG_NGINX_HTTP_ACCESS=y 20 | CONFIG_NGINX_HTTP_AUTH_BASIC=y 21 | CONFIG_NGINX_HTTP_AUTOINDEX=y 22 | CONFIG_ARIA2_BITTORRENT=y 23 | CONFIG_ARIA2_NOXML=y 24 | CONFIG_ARIA2_OPENSSL=y 25 | CONFIG_ARIA2_WEBSOCKET=y 26 | CONFIG_GNUTLS_ALPN=y 27 | CONFIG_GNUTLS_ANON=y 28 | CONFIG_GNUTLS_DTLS_SRTP=y 29 | CONFIG_GNUTLS_HEARTBEAT=y 30 | CONFIG_GNUTLS_OCSP=y 31 | CONFIG_GNUTLS_PSK=y 32 | CONFIG_LIBCURL_COOKIES=y 33 | CONFIG_LIBCURL_FILE=y 34 | CONFIG_LIBCURL_FTP=y 35 | CONFIG_LIBCURL_HTTP=y 36 | CONFIG_LIBCURL_MBEDTLS=y 37 | CONFIG_LIBCURL_NO_SMB="!" 38 | CONFIG_LIBCURL_PROXY=y 39 | CONFIG_LUCI_LANG_en=y 40 | CONFIG_NODEJS_ICU_NONE=y 41 | CONFIG_PACKAGE_6in4=y 42 | CONFIG_PACKAGE_AdGuardHome=y 43 | CONFIG_PACKAGE_UnblockNeteaseMusic=y 44 | CONFIG_PACKAGE_UnblockNeteaseMusicGo=y 45 | CONFIG_PACKAGE_adbyby=y 46 | CONFIG_PACKAGE_alsa-lib=y 47 | CONFIG_PACKAGE_alsa-utils=y 48 | CONFIG_PACKAGE_aria2=m 49 | CONFIG_PACKAGE_ariang=m 50 | CONFIG_PACKAGE_attr=y 51 | CONFIG_PACKAGE_avahi-dbus-daemon=y 52 | CONFIG_PACKAGE_bash=y 53 | CONFIG_PACKAGE_boost=y 54 | CONFIG_PACKAGE_boost-date_time=y 55 | CONFIG_PACKAGE_boost-program_options=y 56 | CONFIG_PACKAGE_boost-system=y 57 | CONFIG_PACKAGE_ca-bundle=y 58 | CONFIG_PACKAGE_coreutils-nohup=y 59 | CONFIG_PACKAGE_curl=y 60 | CONFIG_PACKAGE_dbus=y 61 | CONFIG_PACKAGE_htop=y 62 | CONFIG_PACKAGE_ip6tables=y 63 | CONFIG_PACKAGE_iperf3=y 64 | CONFIG_PACKAGE_ipt2socks=y 65 | CONFIG_PACKAGE_iptables-mod-conntrack-extra=y 66 | CONFIG_PACKAGE_iptables-mod-ipopt=y 67 | CONFIG_PACKAGE_ipv6helper=y 68 | CONFIG_PACKAGE_kmod-input-core=y 69 | CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y 70 | CONFIG_PACKAGE_kmod-ipt-ipopt=y 71 | CONFIG_PACKAGE_kmod-ipt-nat6=y 72 | CONFIG_PACKAGE_kmod-iptunnel=y 73 | CONFIG_PACKAGE_kmod-iptunnel4=y 74 | CONFIG_PACKAGE_kmod-mii=y 75 | CONFIG_PACKAGE_kmod-nf-nat6=y 76 | CONFIG_PACKAGE_kmod-nls-cp936=y 77 | CONFIG_PACKAGE_kmod-sit=y 78 | CONFIG_PACKAGE_kmod-sound-core=y 79 | CONFIG_PACKAGE_kmod-tun=y 80 | CONFIG_PACKAGE_kmod-usb-net=y 81 | CONFIG_PACKAGE_kmod-usb-printer=y 82 | # CONFIG_PACKAGE_kmod-usb3 is not set 83 | CONFIG_PACKAGE_libatomic=y 84 | CONFIG_PACKAGE_libattr=y 85 | CONFIG_PACKAGE_libavahi-client=y 86 | CONFIG_PACKAGE_libavahi-dbus-support=y 87 | CONFIG_PACKAGE_libcap=y 88 | CONFIG_PACKAGE_libcares=y 89 | CONFIG_PACKAGE_libconfig=y 90 | CONFIG_PACKAGE_libcurl=y 91 | CONFIG_PACKAGE_libdaemon=y 92 | CONFIG_PACKAGE_libdbus=y 93 | CONFIG_PACKAGE_libexpat=y 94 | CONFIG_PACKAGE_libgmp=y 95 | CONFIG_PACKAGE_libgnutls=y 96 | CONFIG_PACKAGE_libhttp-parser=y 97 | CONFIG_PACKAGE_libminiupnpc=y 98 | CONFIG_PACKAGE_libnatpmp=y 99 | CONFIG_PACKAGE_libncurses=y 100 | CONFIG_PACKAGE_libnettle=y 101 | CONFIG_PACKAGE_libnghttp2=y 102 | CONFIG_PACKAGE_libpam=y 103 | CONFIG_PACKAGE_libpopt=y 104 | CONFIG_PACKAGE_libreadline=y 105 | CONFIG_PACKAGE_libsoxr=y 106 | CONFIG_PACKAGE_libstdcpp=y 107 | CONFIG_PACKAGE_libtasn1=y 108 | CONFIG_PACKAGE_libtirpc=y 109 | CONFIG_PACKAGE_libusb-1.0=y 110 | CONFIG_PACKAGE_libuv=y 111 | CONFIG_PACKAGE_libwebsockets-full=y 112 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 113 | CONFIG_PACKAGE_luci-app-adguardhome=y 114 | CONFIG_PACKAGE_luci-app-airplay2=y 115 | CONFIG_PACKAGE_luci-app-aria2=m 116 | CONFIG_PACKAGE_luci-app-dnsfilter=y 117 | CONFIG_PACKAGE_luci-app-mwan3=y 118 | CONFIG_PACKAGE_luci-app-mwan3helper=y 119 | CONFIG_PACKAGE_luci-app-netdata=y 120 | CONFIG_PACKAGE_luci-i18n-netdata-zh-cn=y 121 | CONFIG_PACKAGE_luci-app-openclash=y 122 | CONFIG_PACKAGE_luci-app-samba4=y 123 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=y 124 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 125 | CONFIG_PACKAGE_luci-app-syncdial=y 126 | CONFIG_PACKAGE_luci-app-ttyd=y 127 | CONFIG_PACKAGE_luci-app-usb-printer=y 128 | CONFIG_PACKAGE_luci-app-watchcat=y 129 | CONFIG_PACKAGE_luci-app-zerotier=y 130 | CONFIG_PACKAGE_luci-i18n-adbyby-plus-zh-cn=y 131 | CONFIG_PACKAGE_luci-i18n-airplay2-zh-cn=y 132 | CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=m 133 | CONFIG_PACKAGE_luci-i18n-base-en=y 134 | CONFIG_PACKAGE_luci-i18n-ddns-en=y 135 | CONFIG_PACKAGE_luci-i18n-firewall-en=y 136 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 137 | CONFIG_PACKAGE_luci-i18n-mwan3helper-zh-cn=y 138 | CONFIG_PACKAGE_luci-i18n-netdata-zh-cn=y 139 | CONFIG_PACKAGE_luci-i18n-samba4-en=y 140 | CONFIG_PACKAGE_luci-i18n-samba4-zh-cn=y 141 | CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=y 142 | CONFIG_PACKAGE_luci-i18n-upnp-en=y 143 | CONFIG_PACKAGE_luci-i18n-usb-printer-zh-cn=y 144 | CONFIG_PACKAGE_luci-i18n-watchcat-en=y 145 | CONFIG_PACKAGE_luci-i18n-watchcat-zh-cn=y 146 | CONFIG_PACKAGE_luci-i18n-wol-en=y 147 | CONFIG_PACKAGE_luci-i18n-zerotier-zh-cn=y 148 | CONFIG_PACKAGE_luci-proto-ipv6=y 149 | CONFIG_PACKAGE_luci-theme-argon=y 150 | CONFIG_PACKAGE_luci-theme-freifunk-generic=y 151 | CONFIG_PACKAGE_luci-theme-material=y 152 | CONFIG_PACKAGE_mwan3=y 153 | CONFIG_PACKAGE_netdata=y 154 | CONFIG_PACKAGE_node=y 155 | CONFIG_PACKAGE_odhcp6c=y 156 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 157 | CONFIG_PACKAGE_odhcpd-ipv6only=y 158 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 159 | CONFIG_PACKAGE_openssh-sftp-server=y 160 | CONFIG_PACKAGE_p910nd=y 161 | CONFIG_PACKAGE_samba4-libs=y 162 | CONFIG_PACKAGE_samba4-server=y 163 | CONFIG_PACKAGE_shadowsocksr-libev-server=y 164 | CONFIG_PACKAGE_shairport-sync-openssl=y 165 | CONFIG_PACKAGE_terminfo=y 166 | CONFIG_PACKAGE_trojan=y 167 | CONFIG_PACKAGE_ttyd=y 168 | CONFIG_PACKAGE_vim=y 169 | CONFIG_PACKAGE_watchcat=y 170 | CONFIG_PACKAGE_wsdd2=y 171 | CONFIG_PACKAGE_zerotier=y 172 | CONFIG_SAMBA4_SERVER_AVAHI=y 173 | CONFIG_SAMBA4_SERVER_NETBIOS=y 174 | CONFIG_SAMBA4_SERVER_VFS=y 175 | CONFIG_UnblockNeteaseMusic_Go=y 176 | CONFIG_UnblockNeteaseMusic_NodeJS=y 177 | CONFIG_V2RAY_JSON_INTERNAL=y 178 | CONFIG_boost-compile-visibility-hidden=y 179 | CONFIG_boost-runtime-shared=y 180 | CONFIG_boost-static-and-shared-libs=y 181 | CONFIG_boost-variant-release=y 182 | CONFIG_NGINX_HTTP_BROWSER=y 183 | CONFIG_NGINX_HTTP_CACHE=y 184 | CONFIG_NGINX_HTTP_CHARSET=y 185 | CONFIG_NGINX_HTTP_EMPTY_GIF=y 186 | CONFIG_NGINX_HTTP_FASTCGI=y 187 | CONFIG_NGINX_HTTP_GEO=y 188 | CONFIG_NGINX_HTTP_GZIP=y 189 | CONFIG_NGINX_HTTP_LIMIT_CONN=y 190 | CONFIG_NGINX_HTTP_LIMIT_REQ=y 191 | CONFIG_NGINX_HTTP_MAP=y 192 | CONFIG_NGINX_HTTP_MEMCACHED=y 193 | CONFIG_NGINX_HTTP_PROXY=y 194 | CONFIG_NGINX_HTTP_REFERER=y 195 | CONFIG_NGINX_HTTP_REWRITE=y 196 | CONFIG_NGINX_HTTP_SCGI=y 197 | CONFIG_NGINX_HTTP_SPLIT_CLIENTS=y 198 | CONFIG_NGINX_HTTP_SSI=y 199 | CONFIG_NGINX_HTTP_UPSTREAM_HASH=y 200 | CONFIG_NGINX_HTTP_UPSTREAM_IP_HASH=y 201 | CONFIG_NGINX_HTTP_UPSTREAM_KEEPALIVE=y 202 | CONFIG_NGINX_HTTP_UPSTREAM_LEAST_CONN=y 203 | CONFIG_NGINX_HTTP_USERID=y 204 | CONFIG_NGINX_HTTP_UWSGI=y 205 | CONFIG_NGINX_NAXSI=y 206 | CONFIG_NGINX_PCRE=y 207 | CONFIG_NODEJS_ICU_NONE=y 208 | CONFIG_OPENSSL_WITH_COMPRESSION=y 209 | CONFIG_OPENSSL_WITH_DTLS=y 210 | CONFIG_OPENSSL_WITH_EC2M=y 211 | CONFIG_OPENSSL_WITH_NPN=y 212 | CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL=-1 213 | CONFIG_PACKAGE_UnblockNeteaseMusic=y 214 | CONFIG_PACKAGE_UnblockNeteaseMusicGo=y 215 | # CONFIG_PACKAGE_adbyby is not set 216 | CONFIG_PACKAGE_aria2=y 217 | CONFIG_PACKAGE_ariang=y 218 | CONFIG_PACKAGE_baidupcs-web=y 219 | CONFIG_PACKAGE_bash=y 220 | CONFIG_PACKAGE_boost=y 221 | CONFIG_PACKAGE_boost-date_time=y 222 | CONFIG_PACKAGE_boost-program_options=y 223 | CONFIG_PACKAGE_boost-system=y 224 | CONFIG_PACKAGE_bzip2=y 225 | CONFIG_PACKAGE_ca-bundle=y 226 | CONFIG_PACKAGE_coreutils=y 227 | CONFIG_PACKAGE_coreutils-base64=y 228 | CONFIG_PACKAGE_coreutils-nohup=y 229 | CONFIG_PACKAGE_curl=y 230 | CONFIG_PACKAGE_haproxy=y 231 | CONFIG_PACKAGE_hd-idle=y 232 | CONFIG_PACKAGE_ipt2socks=y 233 | CONFIG_PACKAGE_iptables-mod-conntrack-extra=y 234 | CONFIG_PACKAGE_iptables-mod-ipopt=y 235 | CONFIG_PACKAGE_iptables-mod-tproxy=y 236 | CONFIG_PACKAGE_kcptun-client=y 237 | CONFIG_PACKAGE_kmod-crypto-acompress=y 238 | CONFIG_PACKAGE_kmod-crypto-ccm=y 239 | CONFIG_PACKAGE_kmod-crypto-cmac=y 240 | CONFIG_PACKAGE_kmod-crypto-crc32c=y 241 | CONFIG_PACKAGE_kmod-crypto-ctr=y 242 | CONFIG_PACKAGE_kmod-crypto-des=y 243 | CONFIG_PACKAGE_kmod-crypto-gcm=y 244 | CONFIG_PACKAGE_kmod-crypto-gf128=y 245 | CONFIG_PACKAGE_kmod-crypto-ghash=y 246 | CONFIG_PACKAGE_kmod-crypto-hmac=y 247 | CONFIG_PACKAGE_kmod-crypto-iv=y 248 | CONFIG_PACKAGE_kmod-crypto-md4=y 249 | CONFIG_PACKAGE_kmod-crypto-md5=y 250 | CONFIG_PACKAGE_kmod-crypto-rng=y 251 | CONFIG_PACKAGE_kmod-crypto-seqiv=y 252 | CONFIG_PACKAGE_kmod-crypto-sha256=y 253 | CONFIG_PACKAGE_kmod-crypto-sha512=y 254 | CONFIG_PACKAGE_kmod-crypto-wq=y 255 | CONFIG_PACKAGE_kmod-fs-exfat=y 256 | CONFIG_PACKAGE_kmod-fs-ext4=y 257 | CONFIG_PACKAGE_kmod-fs-ksmbd=y 258 | CONFIG_PACKAGE_kmod-fs-vfat=y 259 | CONFIG_PACKAGE_kmod-fuse=y 260 | CONFIG_PACKAGE_kmod-ifb=y 261 | CONFIG_PACKAGE_kmod-input-core=y 262 | CONFIG_PACKAGE_kmod-ip6tables=y 263 | CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y 264 | CONFIG_PACKAGE_kmod-ipt-ipopt=y 265 | CONFIG_PACKAGE_kmod-ipt-tproxy=y 266 | CONFIG_PACKAGE_kmod-lib-crc16=y 267 | CONFIG_PACKAGE_kmod-lib-lz4=y 268 | CONFIG_PACKAGE_kmod-lib-lzo=y 269 | CONFIG_PACKAGE_kmod-nf-ipt6=y 270 | CONFIG_PACKAGE_kmod-nf-reject6=y 271 | CONFIG_PACKAGE_kmod-nls-cp437=y 272 | CONFIG_PACKAGE_kmod-nls-iso8859-1=y 273 | CONFIG_PACKAGE_kmod-nls-utf8=y 274 | CONFIG_PACKAGE_kmod-sched-connmark=y 275 | CONFIG_PACKAGE_kmod-sched-core=y 276 | CONFIG_PACKAGE_kmod-scsi-core=y 277 | CONFIG_PACKAGE_kmod-sound-core=y 278 | CONFIG_PACKAGE_kmod-usb-ehci=y 279 | CONFIG_PACKAGE_kmod-usb-printer=y 280 | CONFIG_PACKAGE_kmod-usb-storage=y 281 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 282 | CONFIG_PACKAGE_kmod-usb-uhci=y 283 | CONFIG_PACKAGE_kmod-usb2=y 284 | CONFIG_PACKAGE_kmod-zram=y 285 | CONFIG_PACKAGE_ksmbd-server=y 286 | CONFIG_PACKAGE_libatomic=y 287 | CONFIG_PACKAGE_libblkid=y 288 | CONFIG_PACKAGE_libbz2=y 289 | CONFIG_PACKAGE_libcap=y 290 | CONFIG_PACKAGE_libcares=y 291 | CONFIG_PACKAGE_libcurl=y 292 | CONFIG_PACKAGE_libfreetype=y 293 | CONFIG_PACKAGE_libhttp-parser=y 294 | CONFIG_PACKAGE_libjpeg=y 295 | CONFIG_PACKAGE_libltdl=y 296 | CONFIG_PACKAGE_libmaxminddb=y 297 | CONFIG_PACKAGE_libncurses=y 298 | CONFIG_PACKAGE_libnetfilter-conntrack=y 299 | CONFIG_PACKAGE_libnfnetlink=y 300 | CONFIG_PACKAGE_libnghttp2=y 301 | CONFIG_PACKAGE_libnl-core=y 302 | CONFIG_PACKAGE_libnl-genl=y 303 | CONFIG_PACKAGE_libpng=y 304 | CONFIG_PACKAGE_libreadline=y 305 | CONFIG_PACKAGE_libstdcpp=y 306 | CONFIG_PACKAGE_libuv=y 307 | CONFIG_PACKAGE_libwebsockets-full=y 308 | CONFIG_PACKAGE_lua-cjson=y 309 | CONFIG_PACKAGE_lua-maxminddb=y 310 | CONFIG_PACKAGE_luasocket=y 311 | CONFIG_PACKAGE_luci-app-accesscontrol=y 312 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 313 | CONFIG_PACKAGE_luci-app-adguardhome=y 314 | CONFIG_PACKAGE_luci-app-airplay2=y 315 | CONFIG_PACKAGE_luci-app-aria2=y 316 | CONFIG_PACKAGE_luci-app-baidupcs-web=y 317 | CONFIG_PACKAGE_luci-app-autoreboot=y 318 | CONFIG_PACKAGE_luci-app-cifsd=n 319 | CONFIG_PACKAGE_luci-app-familycloud=y 320 | CONFIG_PACKAGE_luci-app-filetransfer=y 321 | CONFIG_PACKAGE_luci-app-flowoffload=y 322 | CONFIG_PACKAGE_luci-app-hd-idle=y 323 | CONFIG_PACKAGE_luci-app-kodexplorer=y 324 | CONFIG_PACKAGE_luci-app-jd-dailybonus=y 325 | CONFIG_PACKAGE_luci-app-mwan3=y 326 | CONFIG_PACKAGE_luci-app-mwan3helper=y 327 | CONFIG_PACKAGE_luci-app-qos=y 328 | #CONFIG_PACKAGE_luci-app-samba 329 | CONFIG_PACKAGE_luci-app-shairplay=y 330 | CONFIG_PACKAGE_luci-app-syncdial=y 331 | CONFIG_PACKAGE_luci-app-ttyd=y 332 | CONFIG_PACKAGE_luci-app-upnp=y 333 | CONFIG_PACKAGE_luci-app-usb-printer=y 334 | CONFIG_PACKAGE_luci-app-uugamebooster=y 335 | CONFIG_PACKAGE_luci-app-vssr=n 336 | CONFIG_PACKAGE_luci-app-watchcat=y 337 | CONFIG_PACKAGE_luci-app-wifischedule=y 338 | CONFIG_PACKAGE_luci-app-webadmin=y 339 | CONFIG_PACKAGE_luci-app-xlnetacc=y 340 | CONFIG_PACKAGE_luci-i18n-aria2-zh-cn=y 341 | CONFIG_PACKAGE_luci-i18n-cifsd-zh-cn=n 342 | CONFIG_PACKAGE_luci-i18n-hd-idle-zh-cn=y 343 | CONFIG_PACKAGE_luci-i18n-kodexplorer-zh-cn=y 344 | CONFIG_PACKAGE_luci-i18n-mwan3-zh-cn=y 345 | CONFIG_PACKAGE_luci-i18n-mwan3helper-zh-cn=y 346 | CONFIG_PACKAGE_luci-i18n-qos-zh-cn=y 347 | CONFIG_PACKAGE_luci-i18n-samba-zh-cn=y 348 | CONFIG_PACKAGE_luci-i18n-ttyd-zh-cn=y 349 | CONFIG_PACKAGE_luci-i18n-usb-printer-zh-cn=y 350 | CONFIG_PACKAGE_luci-i18n-webadmin-zh-cn=y 351 | CONFIG_PACKAGE_luci-theme-argon=y 352 | CONFIG_PACKAGE_mwan3=y 353 | CONFIG_PACKAGE_node=y 354 | CONFIG_PACKAGE_ntfs-3g=y 355 | CONFIG_PACKAGE_p910nd=y 356 | CONFIG_PACKAGE_php7=y 357 | CONFIG_PACKAGE_php7-fpm=y 358 | CONFIG_PACKAGE_php7-mod-curl=y 359 | CONFIG_PACKAGE_php7-mod-gd=y 360 | CONFIG_PACKAGE_php7-mod-iconv=y 361 | CONFIG_PACKAGE_php7-mod-json=y 362 | CONFIG_PACKAGE_php7-mod-mbstring=y 363 | CONFIG_PACKAGE_php7-mod-opcache=y 364 | CONFIG_PACKAGE_php7-mod-session=y 365 | CONFIG_PACKAGE_php7-mod-zip=y 366 | CONFIG_PACKAGE_qos-scripts=y 367 | CONFIG_PACKAGE_resolveip=y 368 | #CONFIG_PACKAGE_samba36-server 369 | CONFIG_PACKAGE_shadowsocksr-libev-alt=y 370 | CONFIG_PACKAGE_shadowsocksr-libev-ssr-local=y 371 | CONFIG_PACKAGE_swap-utils=y 372 | CONFIG_PACKAGE_tc=y 373 | CONFIG_PACKAGE_terminfo=y 374 | CONFIG_PACKAGE_trojan=y 375 | CONFIG_PACKAGE_ttyd=y 376 | CONFIG_PACKAGE_unzip=y 377 | CONFIG_PACKAGE_wsdd2=y 378 | CONFIG_PACKAGE_zoneinfo-asia=y 379 | CONFIG_PACKAGE_zram-swap=y 380 | CONFIG_PHP7_LIBFREETYPE=y 381 | CONFIG_UnblockNeteaseMusic_Go=y 382 | CONFIG_UnblockNeteaseMusic_NodeJS=y 383 | CONFIG_boost-compile-visibility-hidden=y 384 | CONFIG_boost-runtime-shared=y 385 | CONFIG_boost-static-and-shared-libs=y 386 | CONFIG_boost-variant-release=y 387 | CONFIG_PACKAGE_drill=y 388 | CONFIG_PACKAGE_luci-app-serverchan=y 389 | CONFIG_PACKAGE_luci-app-diskman=y 390 | CONFIG_PACKAGE_luci-app-passwall=y 391 | CONFIG_PACKAGE_luci-app-guest-wifi=y 392 | CONFIG_PACKAGE_luci-app-syncthing=n 393 | CONFIG_PACKAGE_luci-app-wrtbwmon=y 394 | CONFIG_PACKAGE_luci-i18n-wrtbwmon-zh-cn=y 395 | CONFIG_PACKAGE_luci-app-openclash=y 396 | CONFIG_PACKAGE_luci-app-music-remote-center=n 397 | CONFIG_PACKAGE_kmod-tun=y 398 | CONFIG_PACKAGE_luci-app-minidlna=y 399 | CONFIG_PACKAGE_ipv6helper=y 400 | CONFIG_PACKAGE_natflow-boot=y 401 | CONFIG_PACKAGE_kmod-ipt-offload=y 402 | -------------------------------------------------------------------------------- /config/e8820s-kaiyuan.config: -------------------------------------------------------------------------------- 1 | # 2 | # 机型选择 3 | # 4 | CONFIG_TARGET_ramips=y 5 | CONFIG_TARGET_ramips_mt7621=y 6 | CONFIG_TARGET_ramips_mt7621_DEVICE_zte_e8820s=y 7 | 8 | # 9 | # IPV6支持 10 | # 11 | CONFIG_IPV6=y 12 | CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y 13 | CONFIG_PACKAGE_ipv6helper=y 14 | CONFIG_PACKAGE_odhcp6c=y 15 | CONFIG_PACKAGE_odhcp6c_ext_cer_id=0 16 | CONFIG_PACKAGE_odhcpd-ipv6only=y 17 | CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0 18 | CONFIG_PACKAGE_luci-proto-ipv6=y 19 | CONFIG_PACKAGE_kmod-ipt-nat6=y 20 | CONFIG_PACKAGE_ipv6helper=y 21 | CONFIG_PACKAGE_kmod-ip6tables=y 22 | CONFIG_PACKAGE_kmod-ip6tables-extra=y 23 | CONFIG_PACKAGE_6in4=y 24 | #use opensource wifi driver 25 | CONFIG_PACKAGE_kmod-mt7603=y 26 | CONFIG_PACKAGE_kmod-mt7603e=n 27 | CONFIG_PACKAGE_kmod-mt76x2=y 28 | CONFIG_PACKAGE_kmod-mt76x2-common=y 29 | CONFIG_PACKAGE_kmod-mt76x2e=n 30 | # 31 | # samba扩展 32 | # 33 | CONFIG_PACKAGE_autosamba=y 34 | #CONFIG_PACKAGE_samba36-server is not set 35 | 36 | 37 | 38 | # 39 | # USB与存储相关支持 40 | # 41 | CONFIG_PACKAGE_automount=y 42 | CONFIG_PACKAGE_kmod-fs-qntfs=y 43 | CONFIG_PACKAGE_kmod-scsi-core=y 44 | CONFIG_PACKAGE_kmod-fs-exfat=y 45 | CONFIG_PACKAGE_kmod-fs-ext4=y 46 | CONFIG_PACKAGE_ntfs-3g=y 47 | CONFIG_PACKAGE_kmod-fs-vfat=y 48 | CONFIG_PACKAGE_kmod-fuse=y 49 | CONFIG_PACKAGE_kmod-mtd-rw=y 50 | CONFIG_PACKAGE_kmod-mmc=y 51 | CONFIG_PACKAGE_kmod-sdhci=y 52 | CONFIG_PACKAGE_kmod-mmc-spi=n 53 | CONFIG_PACKAGE_kmod-usb-core=y 54 | CONFIG_PACKAGE_kmod-usb-dwc3=y 55 | CONFIG_PACKAGE_kmod-usb-dwc3-of-simple=y 56 | CONFIG_PACKAGE_kmod-usb-ehci=y 57 | CONFIG_PACKAGE_kmod-usb-ohci=y 58 | CONFIG_PACKAGE_kmod-usb-printer=y 59 | CONFIG_PACKAGE_kmod-usb-storage=y 60 | CONFIG_PACKAGE_kmod-usb-storage-extras=y 61 | CONFIG_PACKAGE_kmod-usb-uhci=y 62 | CONFIG_PACKAGE_kmod-usb2=y 63 | CONFIG_PACKAGE_kmod-usb3=y 64 | 65 | # 66 | # 插件集成 67 | # 68 | CONFIG_PACKAGE_luci-app-accesscontrol=y 69 | CONFIG_PACKAGE_luci-app-adbyby-plus=y 70 | CONFIG_PACKAGE_luci-app-adguardhome=y #adguard home 71 | CONFIG_PACKAGE_luci-app-airplay2=y 72 | CONFIG_PACKAGE_luci-app-aria2=y 73 | CONFIG_PACKAGE_luci-app-arpbind=y 74 | CONFIG_PACKAGE_luci-app-autoreboot=y 75 | CONFIG_PACKAGE_luci-app-cifsd=n 76 | CONFIG_PACKAGE_luci-app-ddns=y 77 | CONFIG_PACKAGE_luci-app-dnspod=n 78 | CONFIG_PACKAGE_luci-app-dnsforwarder=n 79 | CONFIG_PACKAGE_luci-app-dnsfilter=y 80 | CONFIG_PACKAGE_luci-app-familycloud=y 81 | CONFIG_PACKAGE_luci-app-filetransfer=y 82 | CONFIG_PACKAGE_luci-app-firewall=y 83 | CONFIG_PACKAGE_luci-app-flowoffload=y 84 | CONFIG_PACKAGE_luci-app-frpc=n 85 | CONFIG_PACKAGE_luci-app-hd-idle=y 86 | CONFIG_PACKAGE_luci-app-ipsec-vpnd=n 87 | CONFIG_PACKAGE_luci-app-jd-dailybonus=y 88 | CONFIG_PACKAGE_luci-app-mwan3=y 89 | CONFIG_PACKAGE_luci-app-mwan3helper=y 90 | CONFIG_PACKAGE_luci-app-nlbwmon=y 91 | CONFIG_PACKAGE_luci-app-pptp-server=n 92 | CONFIG_PACKAGE_luci-app-ramfree=y 93 | CONFIG_PACKAGE_luci-app-samba=y 94 | CONFIG_PACKAGE_luci-app-serverchan=y 95 | CONFIG_PACKAGE_luci-app-shairplay=y 96 | CONFIG_PACKAGE_luci-app-sqm=n 97 | CONFIG_PACKAGE_luci-app-ssr-plus=n 98 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y 99 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_V2ray=n 100 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Trojan=y 101 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Server=n 102 | CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=n 103 | CONFIG_PACKAGE_luci-app-syncdial=y 104 | CONFIG_PACKAGE_luci-app-transmission=y 105 | CONFIG_PACKAGE_luci-app-ttyd=y 106 | CONFIG_PACKAGE_luci-app-uhttpd=n 107 | CONFIG_PACKAGE_luci-app-unblockmusic=y 108 | CONFIG_PACKAGE_luci-app-upnp=y 109 | CONFIG_PACKAGE_luci-app-usb-printer=y 110 | CONFIG_PACKAGE_luci-app-uugamebooster=y 111 | CONFIG_PACKAGE_luci-app-v2ray-server=n 112 | CONFIG_PACKAGE_luci-app-vlmcsd=y 113 | CONFIG_PACKAGE_luci-app-vsftpd=y 114 | CONFIG_PACKAGE_luci-app-watchcat=y 115 | CONFIG_PACKAGE_luci-app-wifischedule=y 116 | CONFIG_PACKAGE_luci-app-wrtbwmon=y 117 | CONFIG_PACKAGE_luci-app-wol=y 118 | CONFIG_PACKAGE_luci-app-xlnetacc=y 119 | CONFIG_PACKAGE_luci-app-zerotier=y 120 | CONFIG_PACKAGE_luci-app-diskman=y 121 | CONFIG_PACKAGE_luci-app-mtwifi=n 122 | CONFIG_PACKAGE_htop=y 123 | CONFIG_PACKAGE_curl=y 124 | CONFIG_PACKAGE_wget=y 125 | CONFIG_PACKAGE_iperf3=y 126 | CONFIG_PACKAGE_tcpdump=y 127 | # CONFIG_PACKAGE_qBittorrent is not set 128 | # CONFIG_DEFAULT_luci-app-qbittorrent is not set 129 | 130 | # 131 | # 主题 132 | # 133 | CONFIG_PACKAGE_luci-theme-argon=y 134 | CONFIG_PACKAGE_luci-theme-bootstrap=n 135 | 136 | # 137 | # 基础命令及其他 138 | # 139 | CONFIG_KERNEL_MIPS_FPU_EMULATOR=y 140 | CONFIG_PACKAGE_autocore-switch=y 141 | CONFIG_PACKAGE_natflow-boot=y 142 | CONFIG_PACKAGE_kmod-ipt-offload=y 143 | -------------------------------------------------------------------------------- /config/e8820s.config: -------------------------------------------------------------------------------- 1 | # 2 | CONFIG_TARGET_ramips=y 3 | CONFIG_TARGET_ramips_mt7621=y 4 | CONFIG_TARGET_ramips_mt7621_DEVICE_zte_e8820s=y 5 | CONFIG_PACKAGE_natflow-boot=y 6 | CONFIG_PACKAGE_luci-app-dnsfilter=y 7 | CONFIG_PACKAGE_kmod-ipt-offload=y 8 | -------------------------------------------------------------------------------- /script/diy-part1.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 feed sources 17 | #sed -i '$a src-git lienol https://github.com/Lienol/openwrt-package' feeds.conf.default 18 | #sed -i '$a src-git diy https://github.com/CCnut/feed-netkeeper.git;LUCI-LUA-UCITRACK' feeds.conf.default 19 | 20 | # Add luci-theme-argon 21 | git clone --depth=1 -b 18.06 https://github.com/jerrykuku/luci-theme-argon 22 | rm -rf ../lean/luci-theme-argon 23 | -------------------------------------------------------------------------------- /script/diy-part2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # 说明: 6 | # 除了第一行的#!/bin/bash不要动,其他的设置,前面带#表示不起作用,不带的表示起作用了(根据你自己需要打开或者关闭) 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 | # 修改openwrt登陆地址,把下面的192.168.123.1修改成你想要的就可以了 13 | sed -i 's/192.168.1.1/192.168.123.1/g' package/base-files/files/bin/config_generate 14 | 15 | # 修改主机名字,把E8820S修改你喜欢的就行(不能纯数字或者使用中文) 16 | sed -i 's/OpenWrt/E8820S/g' package/base-files/files/bin/config_generate 17 | 18 | # 修改开源驱动wifi名称 19 | sed -i 's/OpenWrt/ZTE-E8820S-$/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 20 | 21 | # 修改闭源驱动2G wifi名称 22 | sed -i 's/OpenWrt_2G/ZTE-E8820S/g' package/lean/mt/drivers/mt_wifi/files/mt7603.dat 23 | 24 | # 修改闭源驱动5G wifi名称 25 | sed -i 's/OpenWrt_5G/ZTE-E8820S-5G/g' package/lean/mt/drivers/mt_wifi/files/mt7612.dat 26 | 27 | # 设置密码为空(安装固件时无需密码登陆,然后自己修改想要的密码) 28 | #sed -i 's@.*CYXluq4wUazHjmCDBCqXF*@#&@g' ./package/lean/default-settings/files/zzz-default-settings 29 | 30 | # 修改banne文件(banne文件在根目录)(不要修改此行代码,怕弄的diy-lede.sh文件全失效,不需要的话前面加#,或者全行代码删除了) 31 | #rm -rf ./package/base-files/files/etc/banne && cd .. && cp -f ./banner openwrt/package/base-files/files/etc/ && cd openwrt 32 | 33 | # 更改时区 34 | sed -i "s/'UTC'/'CST-8'\n set system.@system[-1].zonename='Asia\/Shanghai'/g" package/base-files/files/bin/config_generate 35 | 36 | #修正连接数 37 | sed -i '/customized in this file/a net.netfilter.nf_conntrack_max=165535' package/base-files/files/etc/sysctl.conf 38 | 39 | # Clone community packages to package/community 40 | mkdir package/community 41 | pushd package/community 42 | 43 | # Add Lienol's Packages 44 | git clone --depth=1 https://github.com/Lienol/openwrt-package 45 | 46 | # Add luci-app-advanced 47 | #git clone --depth=1 https://github.com/sirpdboy/luci-app-advanced 48 | 49 | # Add dnsfilter 50 | git clone --depth=1 https://github.com/garypang13/luci-app-dnsfilter 51 | 52 | # Add OpenAppFilter 53 | #git clone --depth=1 https://github.com/destan19/OpenAppFilter 54 | 55 | # Add jd 56 | #git clone --depth=1 https://github.com/jerrykuku/luci-app-jd-dailybonus 57 | git clone https://github.com/jerrykuku/node-request.git package/lean/node-request #京东签到依赖 58 | git clone https://github.com/jerrykuku/luci-app-jd-dailybonus.git package/lean/luci-app-jd-dailybonus #luci-app-jd-dailybonus[京东签到] 59 | 60 | # Add luci-app-passwall 61 | git clone --depth=1 https://github.com/xiaorouji/openwrt-passwall 62 | 63 | # Add luci-app-vssr 64 | #git clone --depth=1 https://github.com/jerrykuku/lua-maxminddb.git 65 | #git clone --depth=1 https://github.com/jerrykuku/luci-app-vssr 66 | 67 | # Add mentohust & luci-app-mentohust 68 | #git clone --depth=1 https://github.com/BoringCat/luci-app-mentohust 69 | #git clone --depth=1 https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk 70 | 71 | # Add iptvhelper & luci-app-iptvhelper 72 | svn co https://github.com/kiddin9/openwrt-packages/trunk/iptvhelper 73 | svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-iptvhelper 74 | 75 | # Add ServerChan 76 | #git clone --depth=1 https://github.com/tty228/luci-app-serverchan 77 | 78 | # Add OpenClash 79 | #git clone --depth=1 -b master https://github.com/vernesong/OpenClash 80 | 81 | # Add luci-app-onliner (need luci-app-nlbwmon) 82 | git clone --depth=1 https://github.com/rufengsuixing/luci-app-onliner 83 | 84 | # Add luci-app-adguardhome 85 | #git clone --depth=1 https://github.com/SuLingGG/luci-app-adguardhome 86 | 87 | # Add luci-app-diskman 88 | git clone --depth=1 https://github.com/SuLingGG/luci-app-diskman 89 | mkdir parted 90 | cp luci-app-diskman/Parted.Makefile parted/Makefile 91 | 92 | # Add luci-app-dockerman 93 | #rm -rf ../lean/luci-app-docker 94 | #git clone --depth=1 https://github.com/KFERMercer/luci-app-dockerman 95 | #git clone --depth=1 https://github.com/lisaac/luci-lib-docker 96 | 97 | # Add luci-app-gowebdav 98 | #git clone --depth=1 https://github.com/project-openwrt/openwrt-gowebdav 99 | 100 | # Add luci-app-nat6-helper 101 | git clone --depth=1 https://github.com/Ausaci/luci-app-nat6-helper 102 | 103 | # Add luci-theme-argon 104 | git clone --depth=1 -b 18.06 https://github.com/jerrykuku/luci-theme-argon 105 | git clone --depth=1 https://github.com/jerrykuku/luci-app-argon-config 106 | rm -rf ../lean/luci-theme-argon 107 | 108 | # Add luci-theme-rosy 109 | git clone --depth=1 -b openwrt-18.06 https://github.com/shiyu1314/luci-theme-rosy 110 | rm -rf ../lean/luci-theme-rosy 111 | 112 | # Add tmate 113 | git clone --depth=1 https://github.com/project-openwrt/openwrt-tmate 114 | 115 | # Add subconverter 116 | git clone --depth=1 https://github.com/tindy2013/openwrt-subconverter 117 | 118 | # Add luci-udptools 119 | #git clone --depth=1 https://github.com/zcy85611/openwrt-luci-kcp-udp 120 | 121 | # Add OpenAppFilter 122 | git clone --depth=1 https://github.com/destan19/OpenAppFilter 123 | 124 | # Add luci-app-oled (R2S Only) 125 | #git clone --depth=1 https://github.com/NateLol/luci-app-oled 126 | 127 | # Add driver for rtl8821cu & rtl8812au-ac 128 | #svn co https://github.com/project-openwrt/openwrt/branches/master/package/ctcgfw/rtl8812au-ac 129 | #svn co https://github.com/project-openwrt/openwrt/branches/master/package/ctcgfw/rtl8821cu 130 | #popd 131 | 132 | # Add netdata 133 | rm -rf ../lean/netdata 134 | svn co https://github.com/sirpdboy/sirpdboy-package/trunk/netdata 135 | 136 | # luci-app-netdata 137 | rm -rf ../lean/luci-app-netdata 138 | git clone --depth=1 https://github.com/sirpdboy/luci-app-netdata 139 | 140 | # Mod zzz-default-settings 141 | #pushd package/lean/default-settings/files 142 | #sed -i '/http/d' zzz-default-settings 143 | #export orig_version="$(cat "zzz-default-settings" | grep DISTRIB_REVISION= | awk -F "'" '{print $2}')" 144 | #sed -i "s/${orig_version}/${orig_version} ($(date +"%Y-%m-%d"))/g" zzz-default-settings 145 | #popd 146 | 147 | # Fix libssh 148 | #pushd feeds/packages/libs 149 | #rm -rf libssh 150 | #svn co https://github.com/openwrt/packages/trunk/libs/libssh 151 | #popd 152 | 153 | # Use Lienol's https-dns-proxy package 154 | #pushd feeds/packages/net 155 | #rm -rf https-dns-proxy 156 | #svn co https://github.com/Lienol/openwrt-packages/trunk/net/https-dns-proxy 157 | #popd 158 | 159 | # Use snapshots syncthing package 160 | #pushd feeds/packages/utils 161 | #rm -rf syncthing 162 | #svn co https://github.com/openwrt/packages/trunk/utils/syncthing 163 | #popd 164 | 165 | # Fix mt76 wireless driver 166 | #pushd package/kernel/mt76 167 | #sed -i '/mt7662u_rom_patch.bin/a\\techo mt76-usb disable_usb_sg=1 > $\(1\)\/etc\/modules.d\/mt76-usb' Makefile 168 | #popd 169 | 170 | # Add po2lmo 171 | #git clone https://github.com/openwrt-dev/po2lmo.git 172 | #pushd po2lmo 173 | #make && sudo make install 174 | #popd 175 | 176 | #添加smartdns 177 | git clone https://github.com/pymumu/openwrt-smartdns package/smartdns 178 | git clone -b lede https://github.com/pymumu/luci-app-smartdns.git package/luci-app-smartdns -------------------------------------------------------------------------------- /script/diy-part3.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # 说明: 6 | # 除了第一行的#!/bin/bash不要动,其他的设置,前面带#表示不起作用,不带的表示起作用了(根据你自己需要打开或者关闭) 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 | # 修改openwrt登陆地址,把下面的192.168.123.1修改成你想要的就可以了 13 | sed -i 's/192.168.1.1/192.168.123.1/g' package/base-files/files/bin/config_generate 14 | 15 | # 修改主机名字,把E8820S修改你喜欢的就行(不能纯数字或者使用中文) 16 | sed -i 's/OpenWrt/E8820S/g' package/base-files/files/bin/config_generate 17 | 18 | # 修改开源驱动wifi名称 19 | sed -i 's/OpenWrt/ZTE-E8820S-$/g' package/kernel/mac80211/files/lib/wifi/mac80211.sh 20 | 21 | # 修改闭源驱动2G wifi名称 22 | sed -i 's/OpenWrt_2G/ZTE-E8820S/g' package/lean/mt/drivers/mt_wifi/files/mt7603.dat 23 | 24 | # 修改闭源驱动5G wifi名称 25 | sed -i 's/OpenWrt_5G/ZTE-E8820S-5G/g' package/lean/mt/drivers/mt_wifi/files/mt7612.dat 26 | 27 | # 修改内核版本为5.10 28 | sed -i 's/5.4/5.10/g' target/linux/ramips/Makefile 29 | 30 | # 设置密码为空(安装固件时无需密码登陆,然后自己修改想要的密码) 31 | #sed -i 's@.*CYXluq4wUazHjmCDBCqXF*@#&@g' ./package/lean/default-settings/files/zzz-default-settings 32 | 33 | # 修改banne文件(banne文件在根目录)(不要修改此行代码,怕弄的diy-lede.sh文件全失效,不需要的话前面加#,或者全行代码删除了) 34 | #rm -rf ./package/base-files/files/etc/banne && cd .. && cp -f ./banner openwrt/package/base-files/files/etc/ && cd openwrt 35 | 36 | # 更改时区 37 | sed -i "s/'UTC'/'CST-8'\n set system.@system[-1].zonename='Asia\/Shanghai'/g" package/base-files/files/bin/config_generate 38 | 39 | #修正连接数 40 | sed -i '/customized in this file/a net.netfilter.nf_conntrack_max=165535' package/base-files/files/etc/sysctl.conf 41 | 42 | # Clone community packages to package/community 43 | mkdir package/community 44 | pushd package/community 45 | 46 | # Add Lienol's Packages 47 | git clone --depth=1 https://github.com/Lienol/openwrt-package 48 | 49 | # Add luci-app-advanced 50 | #git clone --depth=1 https://github.com/sirpdboy/luci-app-advanced 51 | 52 | # Add dnsfilter 53 | git clone --depth=1 https://github.com/garypang13/luci-app-dnsfilter 54 | 55 | # Add OpenAppFilter 56 | #git clone --depth=1 https://github.com/destan19/OpenAppFilter 57 | 58 | # Add jd 59 | #git clone --depth=1 https://github.com/jerrykuku/luci-app-jd-dailybonus 60 | git clone https://github.com/jerrykuku/node-request.git package/lean/node-request #京东签到依赖 61 | git clone https://github.com/jerrykuku/luci-app-jd-dailybonus.git package/lean/luci-app-jd-dailybonus #luci-app-jd-dailybonus[京东签到] 62 | 63 | # Add luci-app-passwall 64 | git clone --depth=1 https://github.com/xiaorouji/openwrt-passwall 65 | 66 | # Add luci-app-vssr 67 | #git clone --depth=1 https://github.com/jerrykuku/lua-maxminddb.git 68 | #git clone --depth=1 https://github.com/jerrykuku/luci-app-vssr 69 | 70 | # Add mentohust & luci-app-mentohust 71 | #git clone --depth=1 https://github.com/BoringCat/luci-app-mentohust 72 | #git clone --depth=1 https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk 73 | 74 | # Add iptvhelper & luci-app-iptvhelper 75 | svn co https://github.com/kiddin9/openwrt-packages/trunk/iptvhelper 76 | svn co https://github.com/kiddin9/openwrt-packages/trunk/luci-app-iptvhelper 77 | 78 | # Add ServerChan 79 | #git clone --depth=1 https://github.com/tty228/luci-app-serverchan 80 | 81 | # Add OpenClash 82 | #git clone --depth=1 -b master https://github.com/vernesong/OpenClash 83 | 84 | # Add luci-app-onliner (need luci-app-nlbwmon) 85 | git clone --depth=1 https://github.com/rufengsuixing/luci-app-onliner 86 | 87 | # Add luci-app-adguardhome 88 | #git clone --depth=1 https://github.com/SuLingGG/luci-app-adguardhome 89 | 90 | # Add luci-app-diskman 91 | git clone --depth=1 https://github.com/SuLingGG/luci-app-diskman 92 | mkdir parted 93 | cp luci-app-diskman/Parted.Makefile parted/Makefile 94 | 95 | # Add luci-app-dockerman 96 | #rm -rf ../lean/luci-app-docker 97 | #git clone --depth=1 https://github.com/KFERMercer/luci-app-dockerman 98 | #git clone --depth=1 https://github.com/lisaac/luci-lib-docker 99 | 100 | # Add luci-app-gowebdav 101 | #git clone --depth=1 https://github.com/project-openwrt/openwrt-gowebdav 102 | 103 | # Add luci-app-nat6-helper 104 | git clone --depth=1 https://github.com/Ausaci/luci-app-nat6-helper 105 | 106 | # Add luci-theme-argon 107 | git clone --depth=1 -b 18.06 https://github.com/jerrykuku/luci-theme-argon 108 | git clone --depth=1 https://github.com/jerrykuku/luci-app-argon-config 109 | rm -rf ../lean/luci-theme-argon 110 | 111 | # Add luci-theme-rosy 112 | git clone --depth=1 -b openwrt-18.06 https://github.com/shiyu1314/luci-theme-rosy 113 | rm -rf ../lean/luci-theme-rosy 114 | 115 | # Add tmate 116 | git clone --depth=1 https://github.com/project-openwrt/openwrt-tmate 117 | 118 | # Add subconverter 119 | git clone --depth=1 https://github.com/tindy2013/openwrt-subconverter 120 | 121 | # Add luci-udptools 122 | #git clone --depth=1 https://github.com/zcy85611/openwrt-luci-kcp-udp 123 | 124 | # Add OpenAppFilter 125 | git clone --depth=1 https://github.com/destan19/OpenAppFilter 126 | 127 | # Add luci-app-oled (R2S Only) 128 | #git clone --depth=1 https://github.com/NateLol/luci-app-oled 129 | 130 | # Add driver for rtl8821cu & rtl8812au-ac 131 | #svn co https://github.com/project-openwrt/openwrt/branches/master/package/ctcgfw/rtl8812au-ac 132 | #svn co https://github.com/project-openwrt/openwrt/branches/master/package/ctcgfw/rtl8821cu 133 | #popd 134 | 135 | # Add netdata 136 | rm -rf ../lean/netdata 137 | svn co https://github.com/sirpdboy/sirpdboy-package/trunk/netdata 138 | 139 | # luci-app-netdata 140 | rm -rf ../lean/luci-app-netdata 141 | git clone --depth=1 https://github.com/sirpdboy/luci-app-netdata 142 | 143 | # Mod zzz-default-settings 144 | #pushd package/lean/default-settings/files 145 | #sed -i '/http/d' zzz-default-settings 146 | #export orig_version="$(cat "zzz-default-settings" | grep DISTRIB_REVISION= | awk -F "'" '{print $2}')" 147 | #sed -i "s/${orig_version}/${orig_version} ($(date +"%Y-%m-%d"))/g" zzz-default-settings 148 | #popd 149 | 150 | # Fix libssh 151 | #pushd feeds/packages/libs 152 | #rm -rf libssh 153 | #svn co https://github.com/openwrt/packages/trunk/libs/libssh 154 | #popd 155 | 156 | # Use Lienol's https-dns-proxy package 157 | #pushd feeds/packages/net 158 | #rm -rf https-dns-proxy 159 | #svn co https://github.com/Lienol/openwrt-packages/trunk/net/https-dns-proxy 160 | #popd 161 | 162 | # Use snapshots syncthing package 163 | #pushd feeds/packages/utils 164 | #rm -rf syncthing 165 | #svn co https://github.com/openwrt/packages/trunk/utils/syncthing 166 | #popd 167 | 168 | # Fix mt76 wireless driver 169 | #pushd package/kernel/mt76 170 | #sed -i '/mt7662u_rom_patch.bin/a\\techo mt76-usb disable_usb_sg=1 > $\(1\)\/etc\/modules.d\/mt76-usb' Makefile 171 | #popd 172 | 173 | # Add po2lmo 174 | #git clone https://github.com/openwrt-dev/po2lmo.git 175 | #pushd po2lmo 176 | #make && sudo make install 177 | #popd 178 | 179 | #添加smartdns 180 | git clone https://github.com/pymumu/openwrt-smartdns package/smartdns 181 | git clone -b lede https://github.com/pymumu/luci-app-smartdns.git package/luci-app-smartdns --------------------------------------------------------------------------------