Skip to content
Snippets Groups Projects
Select Git revision
  • c4fe482fa5b8c68369ae132cc2e577a1b087e11a
  • main default protected
2 results

bootstrap-reboot.css

Blame
  • check_site.lua 535 B
    need_string_match(in_domain({'next_node', 'mac'}), '^%x[02468aAcCeE]:%x%x:%x%x:%x%x:%x%x:%x%x$', false)
    
    if need_string_match(in_domain({'next_node', 'ip4'}), '^%d+.%d+.%d+.%d+$', false) then
    	need_string_match(in_domain({'prefix4'}), '^%d+.%d+.%d+.%d+/%d+$')
    end
    
    need_string_match(in_domain({'next_node', 'ip6'}), '^[%x:]+$', false)
    
    
    for _, config in ipairs({'wifi24', 'wifi5'}) do
    	if need_table({config}, nil, false) then
    		need_string(in_domain({config, 'ap', 'ssid'}))
    		need_boolean({config, 'ap', 'disabled'}, false)
    	end
    end