check_site.lua 440 B

12345678910111213
  1. need_string('regdom')
  2. for _, config in ipairs({'wifi24', 'wifi5'}) do
  3. need_string(config .. '.ssid')
  4. need_number(config .. '.channel')
  5. need_string(config .. '.htmode')
  6. need_string(config .. '.mesh_ssid')
  7. need_string_match(config .. '.mesh_bssid', '^%x[02468aAcCeE]:%x%x:%x%x:%x%x:%x%x:%x%x$')
  8. need_number(config .. '.mesh_mcast_rate')
  9. need_number(config .. '.mesh_vlan', false)
  10. end
  11. need_boolean('mesh_on_wan', false)