diy.sh 617 B

1234567891011121314151617
  1. #!/bin/bash
  2. shopt -s extglob
  3. SHELL_FOLDER=$(dirname $(readlink -f "$0"))
  4. rm -rf target/linux/generic feeds/routing/batman-adv
  5. svn co https://github.com/coolsnowwolf/lede/trunk/target/linux/generic target/linux/generic
  6. svn co https://github.com/coolsnowwolf/lede/trunk/target/linux/meson target/linux/meson
  7. curl -sfL https://raw.githubusercontent.com/coolsnowwolf/lede/master/include/kernel-5.10 -o include/kernel-5.10
  8. svn co https://github.com/openwrt/routing/branches/openwrt-22.03/batman-adv feeds/routing/batman-adv
  9. sed -i 's/DEFAULT_PACKAGES +=/DEFAULT_PACKAGES += automount/' target/linux/meson/Makefile