profiles 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. irqbalance \
  88. collectd-mod-sqm \
  89. collectd-mod-df \
  90. pbr \
  91. luci-app-pbr \
  92. usbutils \
  93. kmod-usb-storage \
  94. kmod-usb-storage-uas \
  95. btrfs-progs \
  96. block-mount \
  97. smcroute \
  98. curl \
  99. ethtool \
  100. kmod-tun \
  101. ca-bundle"
  102. declare -Ag ax6000_stock
  103. ax6000_stock['profile']="xiaomi_redmi-router-ax6000-stock"
  104. ax6000_stock['target']="mediatek/filogic"
  105. ax6000_stock['release']="snapshot"
  106. ax6000_stock['filesystem']="squashfs"
  107. ax6000_stock['packages']="\
  108. $default_packages \
  109. -dnsmasq \
  110. -odhcpd-ipv6only \
  111. -nftables \
  112. -firewall4 \
  113. -kmod-nft-offload \
  114. collectd-mod-iwinfo"
  115. declare -Ag ax6000_uboot
  116. ax6000_uboot['profile']="xiaomi_redmi-router-ax6000-ubootmod"
  117. ax6000_uboot['target']="mediatek/filogic"
  118. ax6000_uboot['release']="snapshot"
  119. ax6000_uboot['filesystem']="squashfs"
  120. ax6000_uboot['packages']="\
  121. $default_packages \
  122. -dnsmasq \
  123. -odhcpd-ipv6only \
  124. -nftables \
  125. -firewall4 \
  126. -kmod-nft-offload \
  127. collectd-mod-iwinfo"
  128. declare -Ag totolink
  129. totolink['profile']="totolink_x5000r"
  130. totolink['target']="ramips/mt7621"
  131. totolink['filesystem']="squashfs"
  132. totolink['packages']="\
  133. $default_packages \
  134. -dnsmasq \
  135. -odhcpd-ipv6only \
  136. -nftables \
  137. -firewall4 \
  138. -kmod-nft-offload \
  139. collectd-mod-iwinfo"