Skip to content
Snippets Groups Projects
Select Git revision
  • 7c2636d28264df20b448b0160b69f5059c40b84a
  • v2018.2.x default protected
  • 0x4A6F-rpi4
  • 0x4A6F-master
  • master
  • v2018.2.2-ffs
  • v2016.2.4-batmanbug
  • radv-filterd
  • v2016.2.x
  • hoodselector
  • v2016.1.x
  • babel
  • v2015.1.x
  • 2014.4.x
  • 2014.3.x
  • v2018.2.2-ffs0.1
  • v2018.2.1-ffs0.1
  • v2018.2.1
  • v2018.2-ffs0.1
  • v2018.2
  • v2018.1.4
  • v2018.1.3
  • v2018.1.2
  • v2018.1.1
  • v2018.1
  • v2017.1.8
  • v2017.1.7
  • v2017.1.6
  • v2017.1.5
  • v2017.1.4
  • v2017.1.3
  • v2017.1.2
  • v2016.2.7
  • v2017.1.1
  • v2017.1
35 results

check_site.lua

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    check_site.lua 936 B
    need_string('regdom')
    
    for _, config in ipairs({'wifi24', 'wifi5'}) do
       need_number(config .. '.channel')
       need_string(config .. '.htmode')
    
       if need_table(config .. '.ap', nil, false) then
          need_string(config .. '.ap.ssid')
          need_boolean(config .. '.ap.disabled', false)
       end
    
       if need_table(config .. '.ibss', nil, false) then
          need_string(config .. '.ibss.ssid')
          need_string_match(config .. '.ibss.bssid', '^%x[02468aAcCeE]:%x%x:%x%x:%x%x:%x%x:%x%x$')
          need_number(config .. '.ibss.mcast_rate', false)
          need_number(config .. '.ibss.vlan', false)
          need_boolean(config .. '.ibss.disabled', false)
       end
    
       if need_table(config .. '.mesh', nil, false) then
          need_string(config .. '.mesh.id')
          need_number(config .. '.mesh.mcast_rate', false)
          need_boolean(config .. '.mesh.disabled', false)
       end
    end
    
    need_boolean('mesh_on_wan', false)
    need_boolean('mesh_on_lan', false)