SYNOPSIS
val = kconfig.value(tag [, tag, ...])
DESCRIPTION
Retrieves the value stored in the kernel config at the specified path.
RETURN VALUE
The value stored at the specified path, or nil, if it does not exist.
If the path points to a section (in other words, a subdirectory), the return value is a list of the tags of all entries in that section.
ERRORS
Returns nil if the value does not exist.
EXAMPLE
>
>
kconfig.setValue("c4s_serial", "c4s_ser_ttyS1", "c4t_ser_speed", 115200)
print(kconfig.value("c4s_serial", "c4s_ser_ttyS1", "c4t_ser_speed"))
115200
>
>
>
>
list = kconfig.value("c4s_network")
for k,v in pairs(list) do
print (k, v)
end
1 c4t_net_mode
2 c4t_net_ip
3 c4t_net_netmask
4 c4t_net_gw
5 c4t_net_boot_ip
6 c4t_net_boot_path