mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
Added init.lua to make the program importable by other lua programs. Signed-off-by: jasle <jasle@riseup.net>
12 lines
197 B
Lua
12 lines
197 B
Lua
-- mt5311 init file, makes mt5311 importable as module
|
|
|
|
local dir = '/usr/lib/lua/mt5311/'
|
|
local file = dir .. 'ebm.lua'
|
|
arg={}
|
|
arg[0] = file
|
|
|
|
mt5311 = assert(loadfile(file))(arg)
|
|
|
|
return mt5311
|
|
|