#!/bin/bash shopt -s extglob SHELL_FOLDER=$(dirname $(readlink -f "$0")) rm -rf target/linux/ipq807x mv -f ../feeds/ipq807x/ipq807x target/linux/ rm -rf package/feeds ./scripts/feeds install -a -p ipq807x -f ./scripts/feeds install -a -p wifi_ax -f ./scripts/feeds install -a -p gl_feeds_common -f ./scripts/feeds install -a -p kiddin9 -f ./scripts/feeds install -a sed -i "/CONFIG_KERNEL_/d" devices/common/.config echo " CONFIG_FEED_gl_feeds_common=n CONFIG_FEED_ipq807x=n CONFIG_FEED_wifi_ax=n " >> devices/common/.config rm -rf target/imagebuilder svn co https://github.com/openwrt/openwrt/branches/openwrt-21.02/target/imagebuilder target/imagebuilder rm -rf feeds/kiddin9/{rtl*,base-files,netifd,fullconenat-nft,mbedtls,oaf,shortcut-fe,fullconenat} svn co https://github.com/coolsnowwolf/openwrt-gl-ax1800/trunk/package/network/services/fullconenat feeds/kiddin9/fullconenat rm -rf package/kernel/{ath10k-ct,mt76,rtl8812au-ct} rm -rf feeds/packages/net/xtables-addons package/feeds/packages/{openvswitch,ksmbd} package/feeds/routing/batman-adv rm -rf package/kernel/exfat rm -rf devices/common/patches/{glinet,fix.patch,iptables.patch,targets.patch,kernel-defaults.patch,disable_flock.patch} rm -rf toolchain/musl package/utils/e2fsprogs package/libs/libselinux package/feeds/packages/acl svn co https://github.com/openwrt/openwrt/branches/openwrt-23.05/toolchain/musl toolchain/musl svn co https://github.com/openwrt/openwrt/branches/openwrt-23.05/package/utils/e2fsprogs package/utils/e2fsprogs svn co https://github.com/openwrt/openwrt/branches/openwrt-23.05/package/libs/libselinux package/libs/libselinux ln -sf $(pwd)/feeds/luci/modules/luci-base package/feeds/kiddin9/