代码搜索:Lua
找到约 9,588 项符合「Lua」的源代码
代码结果 9,588
www.eeworm.com/read/492380/1174827
svn-base save.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
-- check data, id and values are passed
if (data ~= nil and data['values'] ~= nil) then
file = 'ssmtp'
uci.init(
www.eeworm.com/read/492380/1174828
svn-base main.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
cfg = uci.init('ssmtp', 'ssmtp', 'ssmtp')
cfgvars = {
values = {},
params = {
id = 'ssmtp'
}
}
if (cfg ~= nil) then
fi
www.eeworm.com/read/492380/1174834
svn-base main.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = {}
data['cpuinfo'] = readlines('/proc/cpuinfo')
data['meminfo'] = readlines('/proc/meminfo')
data['partitions'] = readlines('d
www.eeworm.com/read/492380/1174841
svn-base save.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
if (data ~= nil and data['id'] ~= nil and data['values'] ~= nil) then
file = 'dhcp'
uci.init(file, data['id'],
www.eeworm.com/read/492380/1174842
svn-base main.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = {}
data.dhcp = uci.get_all('dhcp')
data.network = uci.get_all('network')
io.write(json.encode( data ))
www.eeworm.com/read/492380/1174843
svn-base form.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
cfgvars = {
values = {},
params = {}
}
if (data ~= nil and data['id'] ~= nil) then
cfg = uci.init('dhcp', dat