gluon/package/gluon-alfred/luasrc/lib/gluon/upgrade/500-enable-alfred
2016-07-10 20:14:25 +02:00

19 lines
293 B
Lua
Executable File

#!/usr/bin/lua
local uci = require 'luci.model.uci'
local c = uci.cursor()
c:delete('alfred', 'alfred')
c:section('alfred', 'alfred', 'alfred',
{
interface = 'br-client',
mode = 'slave',
batmanif = 'bat0',
start_vis = '1',
run_facters = '0',
}
)
c:save('alfred')