Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mqt2r committed Feb 4, 2024
1 parent 1089372 commit 9950c39
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
matrix:
include:
- build_variant: "mt7621"
targets: "WR1200JS K2P DIR-878 CR660x JCG-Q20 MI-4"
- build_variant: "mt7621-usb-1"
targets: "XY-C1 JCG-836PRO JCG-Y2 NEWIFI ZTE-E8820S B70"
- build_variant: "mt7621-usb-2"
targets: "MI-R3G JCG-AC860M NETGEAR-BZV MI-R3P R2100 RM2100 MSG1500 BELL-A040WQ"
targets: "DIR-878"
# - build_variant: "mt7621-usb-1"
# targets: "XY-C1 JCG-836PRO JCG-Y2 NEWIFI ZTE-E8820S B70"
# - build_variant: "mt7621-usb-2"
# targets: "MI-R3G JCG-AC860M NETGEAR-BZV MI-R3P R2100 RM2100 MSG1500 BELL-A040WQ"
steps:
- uses: actions/checkout@v2
- name: Prepare environment
Expand Down
38 changes: 19 additions & 19 deletions trunk/build_firmware_modify
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,35 @@ sed -i 's/CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS=y/CONFIG_FIRMWARE_INCLUDE_SHADOWSO
##以下为插件增减选项,y为集成,n为不集成,请根据自己路由的FLASH大小选择,切勿超大小,不然固件刷入后会无法启动
##此插件选项只在本地编译的时候才会生效
##科学上网##
echo "CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS=y" >> .config #科学上网插件,选择n后全部有关插件都不集成
echo "CONFIG_FIRMWARE_INCLUDE_XRAY=y" >> .config #集成xray执行文件 ~4.5M
echo "CONFIG_FIRMWARE_INCLUDE_V2RAY=n" >> .config #集成v2ray执行文件
echo "CONFIG_FIRMWARE_INCLUDE_TROJAN=y" >> .config #集成trojan执行文件 ~1.2M
echo "CONFIG_FIRMWARE_INCLUDE_SSOBFS=y" >> .config #simple-obfs混淆插件
#echo "CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS=y" >> .config #科学上网插件,选择n后全部有关插件都不集成
#echo "CONFIG_FIRMWARE_INCLUDE_XRAY=y" >> .config #集成xray执行文件 ~4.5M
#echo "CONFIG_FIRMWARE_INCLUDE_V2RAY=n" >> .config #集成v2ray执行文件
#echo "CONFIG_FIRMWARE_INCLUDE_TROJAN=y" >> .config #集成trojan执行文件 ~1.2M
#echo "CONFIG_FIRMWARE_INCLUDE_SSOBFS=y" >> .config #simple-obfs混淆插件
##科学上网##

##广告管理##
echo "CONFIG_FIRMWARE_INCLUDE_ADBYBY=y" >> .config #adbyby plus+
#echo "CONFIG_FIRMWARE_INCLUDE_ADBYBY=y" >> .config #adbyby plus+

##DNS服务##
echo "CONFIG_FIRMWARE_INCLUDE_SMARTDNS=n" >> .config #smartdns
echo "CONFIG_FIRMWARE_INCLUDE_ADGUARDHOME=n" >> .config #adg DNS去AD
#echo "CONFIG_FIRMWARE_INCLUDE_SMARTDNS=n" >> .config #smartdns
#echo "CONFIG_FIRMWARE_INCLUDE_ADGUARDHOME=n" >> .config #adg DNS去AD


##内网穿透服务##
echo "CONFIG_FIRMWARE_INCLUDE_ZEROTIER=y" >> .config #zerotier ~1.3M
echo "CONFIG_FIRMWARE_INCLUDE_ALIDDNS=y" >> .config #aliddns
echo "CONFIG_FIRMWARE_INCLUDE_DDNSTO=y" >> .config #ddnsto ~0.5M
#echo "CONFIG_FIRMWARE_INCLUDE_ZEROTIER=y" >> .config #zerotier ~1.3M
#echo "CONFIG_FIRMWARE_INCLUDE_ALIDDNS=y" >> .config #aliddns
#echo "CONFIG_FIRMWARE_INCLUDE_DDNSTO=y" >> .config #ddnsto ~0.5M
##内网穿透服务##
echo "CONFIG_FIRMWARE_INCLUDE_ALDRIVER=n" >> .config #ALDRIVER ~3m
echo "CONFIG_FIRMWARE_INCLUDE_MENTOHUST=n" >> .config #mentohust
echo "CONFIG_FIRMWARE_INCLUDE_SQM=y" >> .config #SQM
echo "CONFIG_FIRMWARE_INCLUDE_WIREGUARD=y" >>.config #wireguard 10k
echo "CONFIG_FIRMWARE_INCLUDE_FRPC=n" >> .config #frpc
echo "CONFIG_FIRMWARE_INCLUDE_FRPS=n" >> .config #frps
#echo "CONFIG_FIRMWARE_INCLUDE_ALDRIVER=n" >> .config #ALDRIVER ~3m
#echo "CONFIG_FIRMWARE_INCLUDE_MENTOHUST=n" >> .config #mentohust
#echo "CONFIG_FIRMWARE_INCLUDE_SQM=y" >> .config #SQM
#echo "CONFIG_FIRMWARE_INCLUDE_WIREGUARD=y" >>.config #wireguard 10k
#echo "CONFIG_FIRMWARE_INCLUDE_FRPC=n" >> .config #frpc
#echo "CONFIG_FIRMWARE_INCLUDE_FRPS=n" >> .config #frps
#CPU超频
echo "CONFIG_FIRMWARE_INCLUDE_OC=n" >> .config #CPU超频开关
echo 'CONFIG_FIRMWARE_MT7621_OC="0x312"' >> .config #此处填写对应频率的十六进制:1000Mhz=0x312 1100Mhz=0x362 1120Mhz=0x372 1200Mhz=0x3B2
#echo "CONFIG_FIRMWARE_INCLUDE_OC=n" >> .config #CPU超频开关
#echo 'CONFIG_FIRMWARE_MT7621_OC="0x312"' >> .config #此处填写对应频率的十六进制:1000Mhz=0x312 1100Mhz=0x362 1120Mhz=0x372 1200Mhz=0x3B2

fi

Expand Down
6 changes: 3 additions & 3 deletions trunk/configs/templates/DIR-878.config
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ CONFIG_FIRMWARE_INCLUDE_ARIA=n
### Include Aria2 WEB control. ~0.7MB
CONFIG_FIRMWARE_INCLUDE_ARIA_WEB_CONTROL=n

CONFIG_FIRMWARE_INCLUDE_CURL=y
CONFIG_FIRMWARE_INCLUDE_CURL=n

CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT=n

Expand All @@ -204,7 +204,7 @@ CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CLIENT=n

CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CMD=n

CONFIG_FIRMWARE_INCLUDE_VLMCSD=y
CONFIG_FIRMWARE_INCLUDE_VLMCSD=n

CONFIG_FIRMWARE_INCLUDE_TTYD=n

Expand Down Expand Up @@ -232,4 +232,4 @@ CONFIG_FIRMWARE_INCLUDE_FRPC=n

CONFIG_FIRMWARE_INCLUDE_FRPS=n

CONFIG_FIRMWARE_INCLUDE_WIREGUARD=y
CONFIG_FIRMWARE_INCLUDE_WIREGUARD=n

0 comments on commit 9950c39

Please sign in to comment.