代码搜索:Lua
找到约 9,588 项符合「Lua」的源代码
代码结果 9,588
www.eeworm.com/read/492380/1174740
svn-base status.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
if (data ~= nil and data['id'] ~= nil) then
cfg = uci.init('qos', data['id'], 'interface', true)
if (cfg ~= nil
www.eeworm.com/read/492380/1174741
svn-base delete.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
if (data ~= nil and data['id'] ~= nil) then
uci.init('qos')
uci.delete('qos', data['id'])
uci.commit('qos')
en
www.eeworm.com/read/492380/1174742
svn-base formrule.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
cfgvars = {
values = {},
params = {},
targets = {},
layer7 = {}
}
-- get list of l7 filters installed
l7lis
www.eeworm.com/read/492380/1174743
svn-base formclass.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
cfgvars = {
values = {},
params = {},
new = false
}
if (data ~= nil) then
if (data['id'] ~= nil) then
c
www.eeworm.com/read/492380/1174744
svn-base saveiface.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
if (data ~= nil and data['values'] ~= nil) then
ifName = data['id']
classGroup = ifName .. '_group'
uci.init(
www.eeworm.com/read/492380/1174745
svn-base saveclass.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
if (data ~= nil and data['values'] ~= nil) then
file = 'qos'
if (data['id'] == nil) then
data['id'] = data[
www.eeworm.com/read/492380/1174760
svn-base main.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = readlines('ps', 1, true) or {}
io.write(json.encode(data))
www.eeworm.com/read/492380/1174761
svn-base delete.lua.svn-base
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson() or {}
if (data['id'] ~= nil) then
pid = data['id']
pfile = '/proc/' .. pid .. '/cmdline'
if readfile(pfile)