diy.sh 1.0 KB

1234567891011121314151617181920
  1. #!/bin/bash
  2. shopt -s extglob
  3. SHELL_FOLDER=$(dirname $(readlink -f "$0"))
  4. rm -rf package/feeds/kiddin9/rtl*
  5. rm -rf devices/common/patches/{fix.patch,iptables.patch,kernel-defaults.patch,targets.patch} package/feeds/luci/rpcd-mod-luci package/feeds/packages/{ksmbd-tools,glib2}
  6. sed -i "s/PKG_SOURCE_DATE:=.*/PKG_SOURCE_DATE:=2099-12-06/" package/network/config/netifd/Makefile
  7. sed -i "/KernelPackage,sound-soc-core/d" package/kernel/linux/modules/sound.mk
  8. sed -i "/KernelPackage,multimedia-input/d" package/kernel/linux/modules/video.mk
  9. svn co https://github.com/openwrt/openwrt/branches/openwrt-23.05/toolchain/musl toolchain/musl
  10. svn co https://github.com/openwrt/openwrt/branches/openwrt-23.05/package/utils/ucode package/utils/ucode
  11. #ln -sf $(pwd)/feeds/luci/modules/luci-base package/feeds/kiddin9/
  12. sed -i "s/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += luci-app-mtk mii_mgr wifi-profile mtkhqos_util wireless-regdb switch regs kmod-warp kmod-mt_wifi kmod-mediatek_hnat kmod-conninfra datconf-lua/" target/linux/mediatek/Makefile