代码搜索:Lua
找到约 9,588 项符合「Lua」的源代码
代码结果 9,588
www.eeworm.com/read/492380/1174763
lua delete.lua
#!/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)
www.eeworm.com/read/492380/1174764
lua main.lua
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
cfgvars = {}
cfg = uci.init('ntpclient')
if (cfg ~= nil) then
for section, options in pairs(cfg) do
if (options['.type'] =
www.eeworm.com/read/492380/1174775
lua save.lua
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
-- check that data, values are passed
if (data ~= nil and data['values'] ~= nil) then
file = 'ntpclient'
if (da
www.eeworm.com/read/492380/1174776
lua delete.lua
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
if (data ~= nil and data['id'] ~= nil) then
module = 'ntpclient'
uci.init(module)
uci.delete(module, dat
www.eeworm.com/read/492380/1174777
lua form.lua
#!/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('ntp
www.eeworm.com/read/492380/1174778
lua main.lua
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
path = '/www/scripts/Languages/'
file = '/www/scripts/Lang.js'
data = {
values = {
lang = 'English'
},
langs = {},
params
www.eeworm.com/read/492380/1174785
lua save.lua
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = datajson()
if (data ~= nil and data.values ~= nil and data.values.lang ~= nil) then
os.execute('rm /www/scripts/Lang.js')
www.eeworm.com/read/492380/1174786
lua main.lua
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
data = {}
leasefile = '/var/lib/misc/dnsmasq.leases'
cfg = uci.get_all('dhcp')
if (cfg ~= nil) then
for section, options in pairs(
www.eeworm.com/read/492380/1174791
lua main.lua
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
supported = 0
f = io.open('/lib/upgrade/platform.sh', 'r')
if (f) then
supported = 1
f:close()
end
io.write(supported)
www.eeworm.com/read/492380/1174800
lua save.lua
#!/usr/bin/lua
-- Copyright (C) 2008 OpenRB.com
require('fslib')
tmpfile = os.getenv('FORM_fwfile')
out = {
done = 1
}
if (tmpfile ~= nil) then
out.params = proc('/lib/flashsys/modules/upgrade/