gluon-config-mode-core: add missing uci save
A missing uci save for gluon-setup-mode caused the initial setup-process to be stuck in a config-mode loop.
This commit is contained in:
parent
42335a07c9
commit
436b29d767
@ -20,6 +20,7 @@ function f:write()
|
|||||||
local unistd = require 'posix.unistd'
|
local unistd = require 'posix.unistd'
|
||||||
|
|
||||||
uci:set("gluon-setup-mode", uci:get_first("gluon-setup-mode", "setup_mode"), "configured", true)
|
uci:set("gluon-setup-mode", uci:get_first("gluon-setup-mode", "setup_mode"), "configured", true)
|
||||||
|
uci:save("gluon-setup-mode")
|
||||||
|
|
||||||
os.execute('gluon-reconfigure')
|
os.execute('gluon-reconfigure')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user