X-OpenWrt/Scripts/AutoBuild_DiyScript.sh

58 lines
2.1 KiB
Bash
Raw Normal View History

2021-01-05 23:38:00 +00:00
#!/bin/bash
# https://github.com/Hyy2001X/AutoBuild-Actions
# AutoBuild Module by Hyy2001
# AutoBuild DiyScript
Diy_Core() {
Author=Hyy2001
2021-03-07 11:47:41 +00:00
Default_Device=
2021-01-11 13:44:45 +00:00
INCLUDE_AutoUpdate=true
INCLUDE_AutoBuild_Tools=true
2021-03-17 14:15:03 +00:00
INCLUDE_DRM_I915=true
2021-01-05 23:38:00 +00:00
}
Diy-Part1() {
2021-01-11 13:44:45 +00:00
Diy_Part1_Base
2021-02-24 23:51:13 +00:00
Update_Makefile xray-core package/lean/helloworld/xray-core
Update_Makefile exfat package/kernel/exfat
2021-01-24 18:55:42 +00:00
ExtraPackages git other OpenClash https://github.com/vernesong master
ExtraPackages git other openwrt-passwall https://github.com/xiaorouji main
ExtraPackages git other luci-app-argon-config https://github.com/jerrykuku
ExtraPackages git other luci-app-adguardhome https://github.com/Hyy2001X
ExtraPackages git other luci-app-shutdown https://github.com/Hyy2001X
ExtraPackages svn other luci-app-smartdns https://github.com/immortalwrt/immortalwrt/trunk/package/ntlf9t
ExtraPackages git other luci-app-serverchan https://github.com/tty228
2021-01-25 01:36:53 +00:00
ExtraPackages svn other luci-app-socat https://github.com/Lienol/openwrt-package/trunk
2021-03-23 12:34:12 +00:00
ExtraPackages svn other luci-app-usb3disable https://github.com/immortalwrt/luci/trunk/applications
ExtraPackages svn other luci-app-eqos https://github.com/immortalwrt/immortalwrt/trunk/package/ntlf9t
2021-03-05 12:20:10 +00:00
ExtraPackages git other luci-app-bearDropper https://github.com/NateLol
ExtraPackages git other luci-app-onliner https://github.com/rufengsuixing
2021-01-05 23:38:00 +00:00
}
Diy-Part2() {
2021-01-11 13:44:45 +00:00
Diy_Part2_Base
2021-02-26 05:37:28 +00:00
ExtraPackages svn other/../../feeds/packages/admin netdata https://github.com/openwrt/packages/trunk/admin
Replace_File Customize/uhttpd.po feeds/luci/applications/luci-app-uhttpd/po/zh-cn
Replace_File Customize/webadmin.po package/lean/luci-app-webadmin/po/zh-cn
Replace_File Customize/mwan3.config package/feeds/packages/mwan3/files/etc/config mwan3
case ${TARGET_PROFILE} in
d-team_newifi-d2)
Replace_File Customize/mac80211.sh package/kernel/mac80211/files/lib/wifi
Replace_File Customize/system_newifi-d2 package/base-files/files/etc/config system
Replace_File Customize/102-mt7621-fix-cpu-clk-add-clkdev.patch target/linux/ramips/patches-5.4
;;
*)
Replace_File Customize/system_common package/base-files/files/etc/config system
;;
esac
2021-01-05 23:38:00 +00:00
}
Diy-Part3() {
2021-01-11 13:44:45 +00:00
Diy_Part3_Base
}