X-OpenWrt/Scripts/AutoBuild_DiyScript.sh

31 lines
837 B
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-04-06 13:56:56 +00:00
INCLUDE_Obsolete_PKG_Compatible=
2021-01-05 23:38:00 +00:00
}
Firmware-Diy() {
Update_Makefile exfat package/kernel/exfat
Replace_File CustomFiles/webadmin.po package/lean/luci-app-webadmin/po/zh-cn
case ${TARGET_PROFILE} in
d-team_newifi-d2)
Replace_File CustomFiles/mac80211.sh package/kernel/mac80211/files/lib/wifi
Replace_File CustomFiles/system_newifi-d2 package/base-files/files/etc/config system
Replace_File CustomFiles/Patches/102-mt7621-fix-cpu-clk-add-clkdev.patch target/linux/ramips/patches-5.4
;;
*)
Replace_File CustomFiles/system_common package/base-files/files/etc/config system
;;
esac
2021-01-05 23:38:00 +00:00
}