check_site.lua 358 B

12345678910
  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. end