代码搜索:Lua

找到约 9,588 项符合「Lua」的源代码

代码结果 9,588
www.eeworm.com/read/492380/1174880

lua savewifiset.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') data = datajson() or {} if (data['values'] ~= nil) then country = data['values']['country'] or '0' f = io.popen('ls -1 /etc/mo
www.eeworm.com/read/492380/1174881

lua savebond.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') data = datajson() or {} if data['id'] and data['values'] then cfgName = data['id'] uci.init('bonding', cfgName, 'interface') i
www.eeworm.com/read/492380/1174882

lua main.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') data = uci.get_array('test') io.write(json.encode(data))
www.eeworm.com/read/492380/1174893

lua save.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') data = datajson() or {} if (data['values'] ~= nil) then file = 'test' if (data['id'] == nil) then data['id'] = uci.addsectio
www.eeworm.com/read/492380/1174894

lua delete.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') data = datajson() if (data ~= nil and data['id'] ~= nil) then uci.delete('test', data['id']) uci.commit('test') end
www.eeworm.com/read/492380/1174895

lua form.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') data = datajson() or {} cfgvars = { values = {}, params = {} } if (data['id'] ~= nil) then cfgvars['params']['id'] = data['i
www.eeworm.com/read/492380/1174896

lua main.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') cfgvars = { values = {}, params = {} } cfg = uci.get_all('httpd') if (cfg ~= nil) then for section, options in pairs(cfg
www.eeworm.com/read/492380/1174903

lua save.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') data = datajson() file = 'httpd' if (data ~= nil and data['id'] ~= nil) then uci.init(file, data['id'], file) for field, value i
www.eeworm.com/read/492380/1174908

lua save.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') data = datajson() if (data ~= nil and data['values'] ~= nil) then password = data['values']['password'] if (password ~= nil and p
www.eeworm.com/read/492380/1174909

lua main.lua

#!/usr/bin/lua -- Copyright (C) 2008 OpenRB.com require('fslib') data = {} f = io.popen('ls /www/backups/') if (f ~= nil) then while (true) do line = f:read('*l') if not line then break e