#!/bin/bash # https://github.com/Hyy2001X/AutoBuild-Actions # AutoBuild Module by Hyy2001 # AutoBuild DiyScript Diy_Core() { Author=Hyy2001 Default_Device=x86_64 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 Upload_VM_Firmware=true } Firmware-Diy() { Update_Makefile exfat $(PKG_Finder d package exfat) AddPackage svn ../feeds/packages/admin netdata openwrt/packages/trunk/admin 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 }