Skip to content

Commit

Permalink
更新内核版本修改
Browse files Browse the repository at this point in the history
  • Loading branch information
youfak committed Aug 8, 2024
1 parent 30cf21d commit f31b48b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions diy5.10.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
# Description: OpenWrt DIY script part 1 (Before Update feeds)
# 5.10 完全纯净版 不包含任何插件
# 指定编译版本
sed -i 's/KERNEL_PATCHVER:=6.1/KERNEL_PATCHVER:=5.10/g' ./target/linux/x86/Makefile
sed -i 's/KERNEL_PATCHVER:=5.15/KERNEL_PATCHVER:=5.10/g' ./target/linux/x86/Makefile
sed -i 's/KERNEL_PATCHVER:=\([0-9]\+\)\.\([0-9]\+\)/KERNEL_PATCHVER:=5.10/g' ./target/linux/x86/Makefile

# 使用自定义openclash 5.10.config 没有这个插件
# svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash
Expand Down
3 changes: 1 addition & 2 deletions diy5.15.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
# Description: OpenWrt DIY script part 1 (Before Update feeds)
#
# 指定编译版本
sed -i 's/KERNEL_PATCHVER:=6.1/KERNEL_PATCHVER:=5.15/g' ./target/linux/x86/Makefile
sed -i 's/KERNEL_PATCHVER:=5.10/KERNEL_PATCHVER:=5.15/g' ./target/linux/x86/Makefile
sed -i 's/KERNEL_PATCHVER:=\([0-9]\+\)\.\([0-9]\+\)/KERNEL_PATCHVER:=5.15/g' ./target/linux/x86/Makefile

# 使用自定义openclash
svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash
Expand Down
3 changes: 1 addition & 2 deletions diy6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
#

# 切换固件版本
sed -i 's/KERNEL_PATCHVER:=5.15/KERNEL_PATCHVER:=6.6/g' ./target/linux/x86/Makefile
sed -i 's/KERNEL_PATCHVER:=5.10/KERNEL_PATCHVER:=6.6/g' ./target/linux/x86/Makefile
sed -i 's/KERNEL_PATCHVER:=\([0-9]\+\)\.\([0-9]\+\)/KERNEL_PATCHVER:=6.6/g' ./target/linux/x86/Makefile

# 使用自定义openclash
svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash
Expand Down

0 comments on commit f31b48b

Please sign in to comment.