25 lines
		
	
	
		
			717 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			717 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
| #!/bin/bash
 | |
| # AutoBuild Module by Hyy2001 <https://github.com/Hyy2001X/AutoBuild-Actions>
 | |
| # AutoBuild DiyScript
 | |
| 
 | |
| Diy_Core() {
 | |
| 	Author=Hyy2001
 | |
| 	Default_Device=
 | |
| 	Short_Firmware_Date=true
 | |
| 	Default_IP_Address=192.168.1.1
 | |
| 
 | |
| 	INCLUDE_AutoUpdate=true
 | |
| 	INCLUDE_AutoBuild_Tools=true
 | |
| 	INCLUDE_DRM_I915=true
 | |
| 	INCLUDE_Theme_Argon=true
 | |
| 	INCLUDE_Obsolete_PKG_Compatible=false
 | |
| }
 | |
| 
 | |
| Firmware-Diy() {
 | |
| 	case "${TARGET_PROFILE}" in
 | |
| 	d-team_newifi-d2)
 | |
| 		Replace_File CustomFiles/mac80211.sh package/kernel/mac80211/files/lib/wifi
 | |
| 		Replace_File CustomFiles/system_d-team_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
 | |
| 	esac
 | |
| } |