Skip to content
Snippets Groups Projects
Unverified Commit 8a41ed05 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-core: more coding style fixes

parent 90305761
No related branches found
No related tags found
No related merge requests found
......@@ -5,14 +5,14 @@ local sysconfig = require 'gluon.sysconfig'
-- Initial
if not sysconfig.gluon_version then
local site = require 'gluon.site_config'
local util = require 'gluon.util'
local uci = require('simple-uci').cursor()
local site = require 'gluon.site_config'
local util = require 'gluon.util'
local uci = require('simple-uci').cursor()
local system = uci:get_first('system', 'system')
local system = uci:get_first('system', 'system')
pretty_hostname.set(uci, (site.hostname_prefix or '') .. util.node_id())
uci:set('system', system, 'timezone', site.timezone)
pretty_hostname.set(uci, (site.hostname_prefix or '') .. util.node_id())
uci:set('system', system, 'timezone', site.timezone)
uci:save('system')
uci:save('system')
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment