X-OpenWrt/Scripts/AutoBuild_DiyScript.sh

33 lines
846 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-05-27 14:41:20 +00:00
Default_Device=
2021-04-20 11:51:13 +00:00
Short_Firmware_Date=true
Default_IP_Address=192.168.1.1
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-09 15:12:34 +00:00
INCLUDE_Theme_Argon=true
INCLUDE_Obsolete_PKG_Compatible=false
2021-05-26 13:27:15 +00:00
2021-05-19 02:59:04 +00:00
Upload_VM_Firmware=false
2021-01-05 23:38:00 +00:00
}
Firmware-Diy() {
2021-05-27 14:41:20 +00:00
TIME "Starting run Firmware-Diy commands..."
AddPackage git other luci-app-adguardhome Hyy2001X
case ${TARGET_PROFILE} in
d-team_newifi-d2)
Replace_File CustomFiles/mac80211.sh package/kernel/mac80211/files/lib/wifi
2021-04-08 09:07:16 +00:00
Replace_File CustomFiles/system_d-team_newifi-d2 package/base-files/files/etc/config system
2021-04-23 00:06:35 +00:00
# Replace_File CustomFiles/Patches/102-mt7621-fix-cpu-clk-add-clkdev.patch target/linux/ramips/patches-5.4
;;
esac
}