11 lines
193 B
Lua
Executable File
11 lines
193 B
Lua
Executable File
#!/usr/bin/lua
|
|
|
|
local uci = require('simple-uci').cursor()
|
|
|
|
local config = 'gluon-node-info'
|
|
|
|
if not uci:get_first(config, 'system') then
|
|
uci:section(config, 'system')
|
|
uci:save(config)
|
|
end
|