profiles 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. #!/usr/bin/env bash
  2. # shellcheck disable=SC2034
  3. # This file contains a set of device profiles for openwrtbuilder
  4. # Packages to install for all profiles
  5. default_packages="\
  6. luci \
  7. luci-ssl \
  8. nano \
  9. htop \
  10. tcpdump \
  11. diffutils \
  12. tar \
  13. iperf \
  14. bash \
  15. rsync \
  16. openssh-sftp-server \
  17. luci-app-statistics \
  18. collectd-mod-sensors \
  19. collectd-mod-thermal \
  20. collectd-mod-conntrack \
  21. collectd-mod-cpu " # Leave trailing whitespace
  22. declare -Ag archer
  23. archer['profile']="tplink_archer-c7-v2"
  24. archer['target']="ath79/generic"
  25. archer['filesystem']="squashfs"
  26. archer['packages']="\
  27. $default_packages \
  28. -dnsmasq \
  29. -odhcpd \
  30. -iptables \
  31. -ath10k-firmware-qca988x-ct \
  32. ath10k-firmware-qca988x-ct-full-htt"
  33. declare -Ag linksys
  34. linksys['profile']="linksys_ea8300"
  35. linksys['target']="ipq40xx/generic"
  36. linksys['filesystem']="squashfs"
  37. linksys['packages']="\
  38. $default_packages \
  39. -dnsmasq \
  40. -odhcpd \
  41. -iptables"
  42. declare -Ag rpi4
  43. rpi4['profile']="rpi-4"
  44. rpi4['target']="bcm27xx/bcm2711"
  45. rpi4['filesystem']="ext4"
  46. rpi4['packages']="\
  47. $default_packages \
  48. kmod-usb-net-asix-ax88179 \
  49. kmod-usb-net-rtl8152 \
  50. luci-app-upnp \
  51. luci-app-wireguard \
  52. luci-app-vpn-policy-routing \
  53. -dnsmasq \
  54. dnsmasq-full \
  55. luci-app-ddns \
  56. luci-app-sqm"
  57. declare -Ag r2s
  58. r2s['profile']="friendlyarm_nanopi-r2s"
  59. r2s['target']="rockchip/armv8"
  60. r2s['filesystem']="ext4"
  61. r2s['packages']="\
  62. $default_packages \
  63. luci-app-upnp \
  64. luci-app-wireguard \
  65. luci-app-vpn-policy-routing \
  66. -dnsmasq \
  67. dnsmasq-full \
  68. luci-app-ddns \
  69. luci-app-sqm \
  70. luci-app-statistics \
  71. collectd-mod-sensors \
  72. collectd-mod-thermal \
  73. collectd-mod-conntrack \
  74. smcroute \
  75. curl \
  76. ethtool"
  77. declare -Ag r4s
  78. r4s['profile']="friendlyarm_nanopi-r4s"
  79. r4s['target']="rockchip/armv8"
  80. r4s['filesystem']="ext4"
  81. r4s['packages']="\
  82. $default_packages \
  83. luci-app-upnp \
  84. luci-app-wireguard \
  85. luci-app-ddns \
  86. luci-app-sqm \
  87. collectd-mod-sqm \
  88. collectd-mod-df \
  89. kmod-usb-storage \
  90. kmod-usb-storage-uas \
  91. btrfs-progs \
  92. block-mount \
  93. smcroute \
  94. curl \
  95. ethtool \
  96. kmod-tun \
  97. ca-bundle"
  98. declare -Ag ax6000
  99. ax6000['profile']="xiaomi_redmi-router-ax6000"
  100. ax6000['target']="mediatek/filogic"
  101. ax6000['filesystem']="squashfs"
  102. ax6000['packages']="\
  103. $default_packages \
  104. -dnsmasq \
  105. -odhcpd-ipv6only \
  106. -nftables \
  107. -firewall4 \
  108. -kmod-nft-offload \
  109. collectd-mod-iwinfo"
  110. declare -Ag x5000r
  111. x5000r['profile']="totolink_x5000r"
  112. x5000r['target']="ramips/mt7621"
  113. x5000r['filesystem']="squashfs"
  114. x5000r['packages']="\
  115. $default_packages \
  116. -dnsmasq \
  117. -odhcpd-ipv6only \
  118. -nftables \
  119. -firewall4 \
  120. -kmod-nft-offload \
  121. relayd \
  122. luci-proto-relay \
  123. collectd-mod-iwinfo"